clang
3.9.0
|
Classes | |
class | CustomDiagInfo |
Typedefs | |
typedef unsigned | kind |
All of the diagnostics that can be emitted by the frontend. More... | |
Enumerations | |
enum | { NUM_BUILTIN_ANALYSIS_DIAGNOSTICS } |
enum | { NUM_BUILTIN_AST_DIAGNOSTICS } |
enum | { NUM_BUILTIN_COMMENT_DIAGNOSTICS } |
enum | { DiagCat_NUM_CATEGORIES } |
enum | { DIAG_START_COMMON = 0, DIAG_START_DRIVER = DIAG_START_COMMON + 300, DIAG_START_FRONTEND = DIAG_START_DRIVER + 200, 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 + 110, DIAG_START_SEMA = DIAG_START_COMMENT + 100, DIAG_START_ANALYSIS = DIAG_START_SEMA + 3500, DIAG_UPPER_LIMIT = DIAG_START_ANALYSIS + 100 } |
enum | { NUM_BUILTIN_COMMON_DIAGNOSTICS } |
enum | Severity { Severity::Ignored = 1, Severity::Remark = 2, Severity::Warning = 3, Severity::Error = 4, Severity::Fatal = 5 } |
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). More... | |
enum | Flavor { Flavor::WarningOrError, Flavor::Remark } |
Flavors of diagnostics we can emit. More... | |
enum | { NUM_BUILTIN_DRIVER_DIAGNOSTICS } |
enum | { NUM_BUILTIN_FRONTEND_DIAGNOSTICS } |
enum | { NUM_BUILTIN_LEX_DIAGNOSTICS } |
enum | { NUM_BUILTIN_PARSE_DIAGNOSTICS } |
enum | { NUM_BUILTIN_SEMA_DIAGNOSTICS } |
enum | { NUM_BUILTIN_SERIALIZATION_DIAGNOSTICS } |
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 |
Enumerator | |
---|---|
NUM_BUILTIN_ANALYSIS_DIAGNOSTICS |
Definition at line 17 of file AnalysisDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
DiagCat_NUM_CATEGORIES |
Definition at line 15 of file DiagnosticCategories.h.
anonymous enum |
Definition at line 29 of file DiagnosticIDs.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_COMMON_DIAGNOSTICS |
Definition at line 49 of file DiagnosticIDs.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_DRIVER_DIAGNOSTICS |
Definition at line 17 of file DriverDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_FRONTEND_DIAGNOSTICS |
Definition at line 17 of file FrontendDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_LEX_DIAGNOSTICS |
Definition at line 17 of file LexDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_PARSE_DIAGNOSTICS |
Definition at line 17 of file ParseDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_COMMENT_DIAGNOSTICS |
Definition at line 17 of file CommentDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_AST_DIAGNOSTICS |
Definition at line 17 of file ASTDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_SEMA_DIAGNOSTICS |
Definition at line 17 of file SemaDiagnostic.h.
anonymous enum |
Enumerator | |
---|---|
NUM_BUILTIN_SERIALIZATION_DIAGNOSTICS |
Definition at line 17 of file SerializationDiagnostic.h.
|
strong |
Flavors of diagnostics we can emit.
Used to filter for a particular kind of diagnostic (for instance, for -W/-R flags).
Enumerator | |
---|---|
WarningOrError |
A diagnostic that indicates a problem or potential problem. Can be made fatal by -Werror. |
Remark |
A diagnostic that indicates normal progress through compilation. |
Definition at line 73 of file DiagnosticIDs.h.
|
strong |
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.