1 //===--- DiagnosticFrontend.h - Diagnostics for frontend --------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_BASIC_DIAGNOSTICFRONTEND_H
10 #define LLVM_CLANG_BASIC_DIAGNOSTICFRONTEND_H
12 #include "clang/Basic/Diagnostic.h"
17 #define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
18 SHOWINSYSHEADER, CATEGORY) \
21 #include "clang/Basic/DiagnosticFrontendKinds.inc"
23 NUM_BUILTIN_FRONTEND_DIAGNOSTICS
25 } // end namespace diag
26 } // end namespace clang
28 #endif // LLVM_CLANG_BASIC_DIAGNOSTICFRONTEND_H