clang API Documentation
#include <DiagnosticIDs.h>
Public Member Functions | |
diag::Severity | getSeverity () const |
void | setSeverity (diag::Severity Value) |
bool | isUser () const |
bool | isPragma () const |
bool | hasNoWarningAsError () const |
void | setNoWarningAsError (bool Value) |
bool | hasNoErrorAsFatal () const |
void | setNoErrorAsFatal (bool Value) |
Static Public Member Functions | |
static DiagnosticMapping | Make (diag::Severity Severity, bool IsUser, bool IsPragma) |
Definition at line 81 of file DiagnosticIDs.h.
diag::Severity clang::DiagnosticMapping::getSeverity | ( | ) | const [inline] |
Definition at line 100 of file DiagnosticIDs.h.
Referenced by GetDefaultDiagMapping(), clang::DiagnosticIDs::isBuiltinExtensionDiag(), clang::DiagnosticIDs::isDefaultMappingAsError(), clang::DiagnosticsEngine::setDiagnosticGroupErrorAsFatal(), clang::DiagnosticsEngine::setDiagnosticGroupWarningAsError(), and clang::DiagnosticsEngine::setSeverity().
bool clang::DiagnosticMapping::hasNoErrorAsFatal | ( | ) | const [inline] |
Definition at line 109 of file DiagnosticIDs.h.
bool clang::DiagnosticMapping::hasNoWarningAsError | ( | ) | const [inline] |
Definition at line 106 of file DiagnosticIDs.h.
bool clang::DiagnosticMapping::isPragma | ( | ) | const [inline] |
Definition at line 104 of file DiagnosticIDs.h.
bool clang::DiagnosticMapping::isUser | ( | ) | const [inline] |
Definition at line 103 of file DiagnosticIDs.h.
static DiagnosticMapping clang::DiagnosticMapping::Make | ( | diag::Severity | Severity, |
bool | IsUser, | ||
bool | IsPragma | ||
) | [inline, static] |
Definition at line 89 of file DiagnosticIDs.h.
Referenced by GetDefaultDiagMapping().
void clang::DiagnosticMapping::setNoErrorAsFatal | ( | bool | Value | ) | [inline] |
Definition at line 110 of file DiagnosticIDs.h.
Referenced by clang::DiagnosticsEngine::setDiagnosticGroupErrorAsFatal().
void clang::DiagnosticMapping::setNoWarningAsError | ( | bool | Value | ) | [inline] |
Definition at line 107 of file DiagnosticIDs.h.
Referenced by GetDefaultDiagMapping(), and clang::DiagnosticsEngine::setDiagnosticGroupWarningAsError().
void clang::DiagnosticMapping::setSeverity | ( | diag::Severity | Value | ) | [inline] |
Definition at line 101 of file DiagnosticIDs.h.
Referenced by GetDefaultDiagMapping(), clang::DiagnosticsEngine::setDiagnosticGroupErrorAsFatal(), and clang::DiagnosticsEngine::setDiagnosticGroupWarningAsError().