clang 22.0.0git
clang::diag::CustomDiagInfo Class Reference

Public Member Functions

const CustomDiagDescgetDescription (unsigned DiagID) const
 getDescription - Return the description of the specified custom diagnostic.
unsigned getOrCreateDiagID (DiagnosticIDs::CustomDiagDesc D)
ArrayRef< unsignedgetDiagsInGroup (diag::Group G) const

Detailed Description

Definition at line 245 of file DiagnosticIDs.cpp.

Member Function Documentation

◆ getDescription()

const CustomDiagDesc & clang::diag::CustomDiagInfo::getDescription ( unsigned DiagID) const
inline

getDescription - Return the description of the specified custom diagnostic.

Definition at line 253 of file DiagnosticIDs.cpp.

References clang::diag::DIAG_UPPER_LIMIT.

◆ getDiagsInGroup()

ArrayRef< unsigned > clang::diag::CustomDiagInfo::getDiagsInGroup ( diag::Group G) const
inline

Definition at line 274 of file DiagnosticIDs.cpp.

Referenced by getDiagnosticsInGroup().

◆ getOrCreateDiagID()

unsigned clang::diag::CustomDiagInfo::getOrCreateDiagID ( DiagnosticIDs::CustomDiagDesc D)
inline

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