Searched refs:DiagnosticLevelMask (Results 1 – 5 of 5) sorted by relevance
/external/clang/include/clang/Basic/ |
D | DiagnosticOptions.h | 30 enum class DiagnosticLevelMask : unsigned { enum 39 inline DiagnosticLevelMask operator~(DiagnosticLevelMask M) { 40 using UT = std::underlying_type<DiagnosticLevelMask>::type; 41 return static_cast<DiagnosticLevelMask>(~static_cast<UT>(M)); 44 inline DiagnosticLevelMask operator|(DiagnosticLevelMask LHS, 45 DiagnosticLevelMask RHS) { 46 using UT = std::underlying_type<DiagnosticLevelMask>::type; 47 return static_cast<DiagnosticLevelMask>( 51 inline DiagnosticLevelMask operator&(DiagnosticLevelMask LHS, 52 DiagnosticLevelMask RHS) { [all …]
|
D | DiagnosticOptions.def | 72 ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4, 73 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
|
/external/clang/lib/Basic/ |
D | DiagnosticOptions.cpp | 19 raw_ostream& operator<<(raw_ostream& Out, DiagnosticLevelMask M) { in operator <<() 20 using UT = std::underlying_type<DiagnosticLevelMask>::type; in operator <<()
|
/external/clang/lib/Frontend/ |
D | VerifyDiagnosticConsumer.cpp | 748 const DiagnosticLevelMask DiagMask = in CheckResults() 754 bool(DiagnosticLevelMask::Error & DiagMask)); in CheckResults() 759 bool(DiagnosticLevelMask::Warning & DiagMask)); in CheckResults() 764 bool(DiagnosticLevelMask::Remark & DiagMask)); in CheckResults() 769 bool(DiagnosticLevelMask::Note & DiagMask)); in CheckResults() 864 const DiagnosticLevelMask DiagMask = in CheckDiagnostics() 866 if (bool(DiagnosticLevelMask::Error & DiagMask)) in CheckDiagnostics() 869 if (bool(DiagnosticLevelMask::Warning & DiagMask)) in CheckDiagnostics() 872 if (bool(DiagnosticLevelMask::Remark & DiagMask)) in CheckDiagnostics() 875 if (bool(DiagnosticLevelMask::Note & DiagMask)) in CheckDiagnostics()
|
D | CompilerInvocation.cpp | 348 DiagnosticLevelMask &M) { in parseDiagnosticLevelMask() 351 DiagnosticLevelMask const PM = in parseDiagnosticLevelMask() 352 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask() 353 .Case("note", DiagnosticLevelMask::Note) in parseDiagnosticLevelMask() 354 .Case("remark", DiagnosticLevelMask::Remark) in parseDiagnosticLevelMask() 355 .Case("warning", DiagnosticLevelMask::Warning) in parseDiagnosticLevelMask() 356 .Case("error", DiagnosticLevelMask::Error) in parseDiagnosticLevelMask() 357 .Default(DiagnosticLevelMask::None); in parseDiagnosticLevelMask() 358 if (PM == DiagnosticLevelMask::None) { in parseDiagnosticLevelMask() 1003 DiagnosticLevelMask DiagMask = DiagnosticLevelMask::None; in ParseDiagnosticArgs() [all …]
|