clang 24.0.0git
clang::DiagnosticsEngine::WarningsSpecialCaseList Class Reference
Inheritance diagram for clang::DiagnosticsEngine::WarningsSpecialCaseList:
[legend]

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)

Detailed Description

Definition at line 81 of file Diagnostic.cpp.

Member Function Documentation

◆ create()

std::unique_ptr< DiagnosticsEngine::WarningsSpecialCaseList > clang::DiagnosticsEngine::WarningsSpecialCaseList::create ( const llvm::MemoryBuffer & Input,
std::string & Err )
static

Definition at line 548 of file Diagnostic.cpp.

Referenced by clang::DiagnosticsEngine::setDiagSuppressionMapping().

◆ hasSection()

bool clang::DiagnosticsEngine::WarningsSpecialCaseList::hasSection ( diag::kind DiagId) const
inline

Whether a section applies to DiagId.

Definition at line 97 of file Diagnostic.cpp.

◆ isDiagSuppressed()

bool clang::DiagnosticsEngine::WarningsSpecialCaseList::isDiagSuppressed ( diag::kind DiagId,
SourceLocation DiagLoc,
const SourceManager & SM ) const

◆ processSections()

void clang::DiagnosticsEngine::WarningsSpecialCaseList::processSections ( DiagnosticsEngine & Diags)

The documentation for this class was generated from the following file: