|
clang 24.0.0git
|
Public Member Functions | |
| void | processSections (DiagnosticsEngine &Diags) |
| bool | isDiagSuppressed (diag::kind DiagId, SourceLocation DiagLoc, const SourceManager &SM) const |
| bool | hasSection (diag::kind DiagId) const |
Whether a section applies to DiagId. | |
Static Public Member Functions | |
| static std::unique_ptr< WarningsSpecialCaseList > | create (const llvm::MemoryBuffer &Input, std::string &Err) |
Definition at line 81 of file Diagnostic.cpp.
|
static |
Definition at line 548 of file Diagnostic.cpp.
Referenced by clang::DiagnosticsEngine::setDiagSuppressionMapping().
|
inline |
Whether a section applies to DiagId.
Definition at line 97 of file Diagnostic.cpp.
| bool clang::DiagnosticsEngine::WarningsSpecialCaseList::isDiagSuppressed | ( | diag::kind | DiagId, |
| SourceLocation | DiagLoc, | ||
| const SourceManager & | SM ) const |
Definition at line 598 of file Diagnostic.cpp.
References clang::PresumedLoc::getFilename(), clang::SourceManager::getPresumedLoc(), and clang::PresumedLoc::isValid().
| void clang::DiagnosticsEngine::WarningsSpecialCaseList::processSections | ( | DiagnosticsEngine & | Diags | ) |
Definition at line 556 of file Diagnostic.cpp.
References Diag(), clang::DiagnosticsEngine::DiagnosticsEngine(), clang::DiagnosticIDs::getNearestOption(), and clang::diag::WarningOrError.