clang 20.0.0git
Public Member Functions | List of all members
clang::diag::CustomDiagInfo Class Reference

Public Member Functions

StringRef getDescription (unsigned DiagID) const
 getDescription - Return the description of the specified custom diagnostic.
 
DiagnosticIDs::Level getLevel (unsigned DiagID) const
 getLevel - Return the level of the specified custom diagnostic.
 
unsigned getOrCreateDiagID (DiagnosticIDs::Level L, StringRef Message, DiagnosticIDs &Diags)
 

Detailed Description

Definition at line 361 of file DiagnosticIDs.cpp.

Member Function Documentation

◆ getDescription()

StringRef clang::diag::CustomDiagInfo::getDescription ( unsigned  DiagID) const
inline

getDescription - Return the description of the specified custom diagnostic.

Definition at line 369 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT.

◆ getLevel()

DiagnosticIDs::Level clang::diag::CustomDiagInfo::getLevel ( unsigned  DiagID) const
inline

getLevel - Return the level of the specified custom diagnostic.

Definition at line 376 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT.

◆ getOrCreateDiagID()

unsigned clang::diag::CustomDiagInfo::getOrCreateDiagID ( DiagnosticIDs::Level  L,
StringRef  Message,
DiagnosticIDs Diags 
)
inline

Definition at line 382 of file DiagnosticIDs.cpp.

References D, and clang::diag::DIAG_UPPER_LIMIT.


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