1 //===--- DiagnosticInstallAPI.h - Diagnostics for InstallAPI-----*- C++ -*-===// 2 // 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 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef LLVM_CLANG_BASIC_DIAGNOSTICINSTALLAPI_H 10 #define LLVM_CLANG_BASIC_DIAGNOSTICINSTALLAPI_H 11 12 #include "clang/Basic/Diagnostic.h" 13 namespace clang { 14 namespace diag { 15 enum { 16 #define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \ 17 SHOWINSYSHEADER, SHOWINSYSMACRO, DEFERRABLE, CATEGORY) \ 18 ENUM, 19 #define INSTALLAPISTART 20 #include "clang/Basic/DiagnosticInstallAPIKinds.inc" 21 #undef DIAG 22 NUM_BUILTIN_INSTALLAPI_DIAGNOSTICS 23 }; 24 } // namespace diag 25 } // namespace clang 26 #endif // LLVM_CLANG_BASIC_DIAGNOSTICINSTALLAPI_H 27