clang API Documentation
Classes | |
class | CustomDiagInfo |
Typedefs | |
typedef unsigned | kind |
All of the diagnostics that can be emitted by the frontend. | |
Enumerations | |
enum | |
enum | |
enum | |
enum | |
enum | { DIAG_START_COMMON = 0, DIAG_START_DRIVER = DIAG_START_COMMON + 300, DIAG_START_FRONTEND = DIAG_START_DRIVER + 100, DIAG_START_SERIALIZATION = DIAG_START_FRONTEND + 100, DIAG_START_LEX = DIAG_START_SERIALIZATION + 120, DIAG_START_PARSE = DIAG_START_LEX + 300, DIAG_START_AST = DIAG_START_PARSE + 500, DIAG_START_COMMENT = DIAG_START_AST + 100, DIAG_START_SEMA = DIAG_START_COMMENT + 100, DIAG_START_ANALYSIS = DIAG_START_SEMA + 3000, DIAG_UPPER_LIMIT = DIAG_START_ANALYSIS + 100 } |
enum | |
enum | Severity { Ignored = 1, Remark = 2, Warning = 3, Error = 4, Fatal = 5 } |
enum | Flavor { WarningOrError, Remark = 2 } |
enum | |
enum | |
enum | |
enum | |
enum | |
enum |
typedef unsigned clang::diag::kind |
All of the diagnostics that can be emitted by the frontend.
Definition at line 43 of file DiagnosticIDs.h.
anonymous enum |
Definition at line 17 of file AnalysisDiagnostic.h.
anonymous enum |
Definition at line 15 of file DiagnosticCategories.h.
anonymous enum |
DIAG_START_COMMON | |
DIAG_START_DRIVER | |
DIAG_START_FRONTEND | |
DIAG_START_SERIALIZATION | |
DIAG_START_LEX | |
DIAG_START_PARSE | |
DIAG_START_AST | |
DIAG_START_COMMENT | |
DIAG_START_SEMA | |
DIAG_START_ANALYSIS | |
DIAG_UPPER_LIMIT |
Definition at line 29 of file DiagnosticIDs.h.
anonymous enum |
Definition at line 49 of file DiagnosticIDs.h.
anonymous enum |
Definition at line 17 of file DriverDiagnostic.h.
anonymous enum |
Definition at line 17 of file FrontendDiagnostic.h.
anonymous enum |
Definition at line 17 of file LexDiagnostic.h.
anonymous enum |
Definition at line 17 of file ParseDiagnostic.h.
anonymous enum |
Definition at line 17 of file CommentDiagnostic.h.
anonymous enum |
Definition at line 17 of file ASTDiagnostic.h.
anonymous enum |
Definition at line 17 of file SemaDiagnostic.h.
anonymous enum |
Definition at line 17 of file SerializationDiagnostic.h.
enum clang::diag::Flavor |
Flavors of diagnostics we can emit. Used to filter for a particular kind of diagnostic (for instance, for -W/-R flags).
Definition at line 73 of file DiagnosticIDs.h.
Enum values that allow the client to map NOTEs, WARNINGs, and EXTENSIONs to either Ignore (nothing), Remark (emit a remark), Warning (emit a warning) or Error (emit as an error). It allows clients to map ERRORs to Error or Fatal (stop emitting diagnostics after this one).
Definition at line 62 of file DiagnosticIDs.h.