clang API Documentation

Public Member Functions
clang::diag::CustomDiagInfo Class Reference

List of all members.

Public Member Functions

StringRef getDescription (unsigned DiagID) const
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 239 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 247 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 254 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 260 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT.

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


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