clang  3.9.0
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. More...
 
DiagnosticIDs::Level getLevel (unsigned DiagID) const
 getLevel - Return the level of the specified custom diagnostic. More...
 
unsigned getOrCreateDiagID (DiagnosticIDs::Level L, StringRef Message, DiagnosticIDs &Diags)
 

Detailed Description

Definition at line 254 of file DiagnosticIDs.cpp.

Member Function Documentation

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

getDescription - Return the description of the specified custom diagnostic.

Definition at line 262 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT.

Referenced by clang::DiagnosticIDs::getDescription().

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

getLevel - Return the level of the specified custom diagnostic.

Definition at line 269 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT.

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

Definition at line 275 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT, I, and ID.

Referenced by clang::DiagnosticIDs::getCustomDiagID().


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