Searched refs:DiagnosticLevelMask (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | DiagnosticOptions.h | 33 enum class DiagnosticLevelMask : unsigned { enum 42 inline DiagnosticLevelMask operator~(DiagnosticLevelMask M) { 43 using UT = std::underlying_type<DiagnosticLevelMask>::type; 44 return static_cast<DiagnosticLevelMask>(~static_cast<UT>(M)); 47 inline DiagnosticLevelMask operator|(DiagnosticLevelMask LHS, 48 DiagnosticLevelMask RHS) { 49 using UT = std::underlying_type<DiagnosticLevelMask>::type; 50 return static_cast<DiagnosticLevelMask>( 54 inline DiagnosticLevelMask operator&(DiagnosticLevelMask LHS, 56 using UT = std::underlying_type<DiagnosticLevelMask>::type; [all …]
|
| H A D | DiagnosticOptions.def | 73 ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4, 74 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | DiagnosticOptions.cpp | 20 raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) { in operator <<() 21 using UT = std::underlying_type<DiagnosticLevelMask>::type; in operator <<()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | VerifyDiagnosticConsumer.cpp | 834 const DiagnosticLevelMask DiagMask = in CheckResults() 840 bool(DiagnosticLevelMask::Error & DiagMask)); in CheckResults() 845 bool(DiagnosticLevelMask::Warning & DiagMask)); in CheckResults() 850 bool(DiagnosticLevelMask::Remark & DiagMask)); in CheckResults() 855 bool(DiagnosticLevelMask::Note & DiagMask)); in CheckResults() 947 const DiagnosticLevelMask DiagMask = in CheckDiagnostics() 949 if (bool(DiagnosticLevelMask::Error & DiagMask)) in CheckDiagnostics() 952 if (bool(DiagnosticLevelMask::Warning & DiagMask)) in CheckDiagnostics() 955 if (bool(DiagnosticLevelMask::Remark & DiagMask)) in CheckDiagnostics() 958 if (bool(DiagnosticLevelMask::Note & DiagMask)) in CheckDiagnostics()
|
| H A D | CompilerInvocation.cpp | 529 DiagnosticLevelMask &M) { in parseDiagnosticLevelMask() 532 DiagnosticLevelMask const PM = in parseDiagnosticLevelMask() 533 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask() 534 .Case("note", DiagnosticLevelMask::Note) in parseDiagnosticLevelMask() 535 .Case("remark", DiagnosticLevelMask::Remark) in parseDiagnosticLevelMask() 536 .Case("warning", DiagnosticLevelMask::Warning) in parseDiagnosticLevelMask() 537 .Case("error", DiagnosticLevelMask::Error) in parseDiagnosticLevelMask() 538 .Default(DiagnosticLevelMask::None); in parseDiagnosticLevelMask() 539 if (PM == DiagnosticLevelMask::None) { in parseDiagnosticLevelMask() 1517 DiagnosticLevelMask DiagMask = DiagnosticLevelMask::None; in ParseDiagnosticArgs() [all …]
|