Searched refs:DiagnosticLevelMask (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | DiagnosticOptions.h | 39 enum class DiagnosticLevelMask : unsigned { enum 48 inline DiagnosticLevelMask operator~(DiagnosticLevelMask M) { 49 using UT = std::underlying_type_t<DiagnosticLevelMask>; 50 return static_cast<DiagnosticLevelMask>(~static_cast<UT>(M)); 53 inline DiagnosticLevelMask operator|(DiagnosticLevelMask LHS, 54 DiagnosticLevelMask RHS) { 55 using UT = std::underlying_type_t<DiagnosticLevelMask>; 56 return static_cast<DiagnosticLevelMask>( 60 inline DiagnosticLevelMask operator&(DiagnosticLevelMask LHS, 61 DiagnosticLevelMask RHS) { [all …]
|
H A D | DiagnosticOptions.def | 75 ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4, 76 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
|
/freebsd/contrib/llvm-project/clang/lib/Basic/ |
H A D | DiagnosticOptions.cpp | 19 raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) { in operator <<() 20 using UT = std::underlying_type_t<DiagnosticLevelMask>; in operator <<()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | VerifyDiagnosticConsumer.cpp | 1008 const DiagnosticLevelMask DiagMask = in CheckResults() 1014 bool(DiagnosticLevelMask::Error & DiagMask)); in CheckResults() 1019 bool(DiagnosticLevelMask::Warning & DiagMask)); in CheckResults() 1024 bool(DiagnosticLevelMask::Remark & DiagMask)); in CheckResults() 1029 bool(DiagnosticLevelMask::Note & DiagMask)); in CheckResults() 1122 const DiagnosticLevelMask DiagMask = in CheckDiagnostics() 1124 if (bool(DiagnosticLevelMask::Error & DiagMask)) in CheckDiagnostics() 1127 if (bool(DiagnosticLevelMask::Warning & DiagMask)) in CheckDiagnostics() 1130 if (bool(DiagnosticLevelMask::Remark & DiagMask)) in CheckDiagnostics() 1133 if (bool(DiagnosticLevelMask::Note & DiagMask)) in CheckDiagnostics()
|
H A D | CompilerInvocation.cpp | 1381 DiagnosticLevelMask &M) { in parseDiagnosticLevelMask() 1384 DiagnosticLevelMask const PM = in parseDiagnosticLevelMask() 1385 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask() 1386 .Case("note", DiagnosticLevelMask::Note) in parseDiagnosticLevelMask() 1387 .Case("remark", DiagnosticLevelMask::Remark) in parseDiagnosticLevelMask() 1388 .Case("warning", DiagnosticLevelMask::Warning) in parseDiagnosticLevelMask() 1389 .Case("error", DiagnosticLevelMask::Error) in parseDiagnosticLevelMask() 1390 .Default(DiagnosticLevelMask::None); in parseDiagnosticLevelMask() 1391 if (PM == DiagnosticLevelMask::None) { in parseDiagnosticLevelMask() 2455 DiagnosticLevelMask VIU = Opts.getVerifyIgnoreUnexpected(); in GenerateDiagnosticArgs() [all …]
|