Home
last modified time | relevance | path

Searched refs:DiagnosticLevelMask (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.h39 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,
62 using UT = std::underlying_type_t<DiagnosticLevelMask>;
[all …]
H A DDiagnosticOptions.def75 ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4,
76 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticOptions.cpp19 raw_ostream &operator<<(raw_ostream &Out, DiagnosticLevelMask M) { in operator <<()
20 using UT = std::underlying_type_t<DiagnosticLevelMask>; in operator <<()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp1003 const DiagnosticLevelMask DiagMask = in CheckResults()
1009 bool(DiagnosticLevelMask::Error & DiagMask)); in CheckResults()
1014 bool(DiagnosticLevelMask::Warning & DiagMask)); in CheckResults()
1019 bool(DiagnosticLevelMask::Remark & DiagMask)); in CheckResults()
1024 bool(DiagnosticLevelMask::Note & DiagMask)); in CheckResults()
1116 const DiagnosticLevelMask DiagMask = in CheckDiagnostics()
1118 if (bool(DiagnosticLevelMask::Error & DiagMask)) in CheckDiagnostics()
1121 if (bool(DiagnosticLevelMask::Warning & DiagMask)) in CheckDiagnostics()
1124 if (bool(DiagnosticLevelMask::Remark & DiagMask)) in CheckDiagnostics()
1127 if (bool(DiagnosticLevelMask::Note & DiagMask)) in CheckDiagnostics()
H A DCompilerInvocation.cpp1360 DiagnosticLevelMask const PM = in parseDiagnosticLevelMask()
1361 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask()
1362 .Case("note", DiagnosticLevelMask::Note) in parseDiagnosticLevelMask()
1363 .Case("remark", DiagnosticLevelMask::Remark) in parseDiagnosticLevelMask()
1365 .Case("error", DiagnosticLevelMask::Error) in parseDiagnosticLevelMask()
1366 .Default(DiagnosticLevelMask::None); in parseDiagnosticLevelMask()
1367 if (PM == DiagnosticLevelMask::None) { in parseDiagnosticLevelMask()
2383 if (VIU == DiagnosticLevelMask::None) { in GenerateDiagnosticArgs()
2385 } else if (VIU == DiagnosticLevelMask::All) { in GenerateDiagnosticArgs()
2479 DiagnosticLevelMask DiagMask = DiagnosticLevelMask::None; in ParseDiagnosticArgs()
[all …]