clang 20.0.0git
DiagnosticSema.h
Go to the documentation of this file.
1//===--- DiagnosticSema.h - Diagnostics for libsema -------------*- 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_DIAGNOSTICSEMA_H
10#define LLVM_CLANG_BASIC_DIAGNOSTICSEMA_H
11
13
14namespace clang {
15namespace diag {
16enum {
17#define DIAG(ENUM, FLAGS, DEFAULT_MAPPING, DESC, GROUP, SFINAE, NOWERROR, \
18 SHOWINSYSHEADER, SHOWINSYSMACRO, DEFERRABLE, CATEGORY) \
19 ENUM,
20#define SEMASTART
21#include "clang/Basic/DiagnosticSemaKinds.inc"
22#undef DIAG
24};
25} // end namespace diag
26} // end namespace clang
27
28#endif // LLVM_CLANG_BASIC_DIAGNOSTICSEMA_H
Defines the Diagnostic-related interfaces.
@ NUM_BUILTIN_SEMA_DIAGNOSTICS
The JSON file list parser is used to communicate input to InstallAPI.