clang  6.0.0svn
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 270 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 278 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 285 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 291 of file DiagnosticIDs.cpp.


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