Home
last modified time | relevance | path

Searched refs:CustomDiagDesc (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticIDs.h196 class CustomDiagDesc {
217 CustomDiagDesc(diag::Severity DefaultSeverity, std::string Description,
242 friend bool operator==(const CustomDiagDesc &lhs,
243 const CustomDiagDesc &rhs) {
247 friend bool operator<(const CustomDiagDesc &lhs,
248 const CustomDiagDesc &rhs) {
284 unsigned getCustomDiagID(CustomDiagDesc Diag);
289 return getCustomDiagID([&]() -> CustomDiagDesc { in getCustomDiagID()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp240 using CustomDiagDesc = DiagnosticIDs::CustomDiagDesc; typedef
242 std::vector<CustomDiagDesc> DiagInfo;
243 std::map<CustomDiagDesc, unsigned> DiagIDs;
249 const CustomDiagDesc &getDescription(unsigned DiagID) const { in getDescription()
255 unsigned getOrCreateDiagID(DiagnosticIDs::CustomDiagDesc D) { in getOrCreateDiagID()
257 std::map<CustomDiagDesc, unsigned>::iterator I = DiagIDs.lower_bound(D); in getOrCreateDiagID()
387 unsigned DiagnosticIDs::getCustomDiagID(CustomDiagDesc Diag) { in getCustomDiagID()