clang 20.0.0git
|
#include "clang/Basic/DiagnosticIDs.h"
Public Member Functions | |
diag::Severity | getSeverity () const |
void | setSeverity (diag::Severity Value) |
bool | isUser () const |
bool | isPragma () const |
bool | isErrorOrFatal () const |
bool | hasNoWarningAsError () const |
void | setNoWarningAsError (bool Value) |
bool | hasNoErrorAsFatal () const |
void | setNoErrorAsFatal (bool Value) |
bool | wasUpgradedFromWarning () const |
Whether this mapping attempted to map the diagnostic to a warning, but was overruled because the diagnostic was already mapped to an error or fatal error. | |
void | setUpgradedFromWarning (bool Value) |
unsigned | serialize () const |
Serialize this mapping as a raw integer. | |
bool | operator== (DiagnosticMapping Other) const |
Static Public Member Functions | |
static DiagnosticMapping | Make (diag::Severity Severity, bool IsUser, bool IsPragma) |
static DiagnosticMapping | deserialize (unsigned Bits) |
Deserialize a mapping. | |
Definition at line 104 of file DiagnosticIDs.h.
|
inlinestatic |
Deserialize a mapping.
Definition at line 160 of file DiagnosticIDs.h.
References clang::Result.
Referenced by clang::ASTReader::ReadPragmaDiagnosticMappings().
|
inline |
Definition at line 131 of file DiagnosticIDs.h.
Referenced by clang::DiagnosticIDs::getDefaultMapping(), clang::DiagnosticIDs::isBuiltinExtensionDiag(), clang::DiagnosticIDs::isDefaultMappingAsError(), isErrorOrFatal(), clang::DiagnosticsEngine::setDiagnosticGroupErrorAsFatal(), clang::DiagnosticsEngine::setDiagnosticGroupWarningAsError(), and clang::DiagnosticsEngine::setSeverity().
|
inline |
Definition at line 145 of file DiagnosticIDs.h.
|
inline |
Definition at line 142 of file DiagnosticIDs.h.
Referenced by clang::DiagnosticsEngine::setSeverity().
|
inline |
Definition at line 137 of file DiagnosticIDs.h.
References clang::diag::Error, clang::diag::Fatal, and getSeverity().
Referenced by clang::ASTReader::ReadPragmaDiagnosticMappings().
|
inline |
Definition at line 135 of file DiagnosticIDs.h.
Referenced by clang::ASTReader::ReadPragmaDiagnosticMappings().
|
inline |
Definition at line 134 of file DiagnosticIDs.h.
|
inlinestatic |
Definition at line 119 of file DiagnosticIDs.h.
References clang::Result.
Referenced by clang::DiagnosticIDs::getDefaultMapping().
|
inline |
Definition at line 171 of file DiagnosticIDs.h.
References clang::Other, and serialize().
|
inline |
Serialize this mapping as a raw integer.
Definition at line 155 of file DiagnosticIDs.h.
Referenced by operator==().
|
inline |
Definition at line 146 of file DiagnosticIDs.h.
Referenced by clang::DiagnosticsEngine::setDiagnosticGroupErrorAsFatal().
|
inline |
Definition at line 143 of file DiagnosticIDs.h.
Referenced by clang::DiagnosticIDs::getDefaultMapping(), clang::DiagnosticsEngine::setDiagnosticGroupWarningAsError(), and clang::DiagnosticsEngine::setSeverity().
|
inline |
|
inline |
Definition at line 152 of file DiagnosticIDs.h.
Referenced by clang::ASTReader::ReadPragmaDiagnosticMappings(), and clang::DiagnosticsEngine::setSeverity().
|
inline |
Whether this mapping attempted to map the diagnostic to a warning, but was overruled because the diagnostic was already mapped to an error or fatal error.
Definition at line 151 of file DiagnosticIDs.h.
Referenced by clang::ASTReader::ReadPragmaDiagnosticMappings().