Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticOptions.h38 enum class DiagnosticLevelMask : unsigned { enum
47 inline DiagnosticLevelMask operator~(DiagnosticLevelMask M) {
48 using UT = std::underlying_type_t<DiagnosticLevelMask>;
49 return static_cast<DiagnosticLevelMask>(~static_cast<UT>(M));
52 inline DiagnosticLevelMask operator|(DiagnosticLevelMask LHS,
53 DiagnosticLevelMask RHS) {
54 using UT = std::underlying_type_t<DiagnosticLevelMask>;
55 return static_cast<DiagnosticLevelMask>(
59 inline DiagnosticLevelMask operator&(DiagnosticLevelMask LHS,
60 DiagnosticLevelMask RHS) {
[all …]
H A DDiagnosticOptions.def75 ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4,
76 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
/freebsd/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/contrib/llvm-project/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp1021 const DiagnosticLevelMask DiagMask = in CheckResults()
1027 bool(DiagnosticLevelMask::Error & DiagMask)); in CheckResults()
1032 bool(DiagnosticLevelMask::Warning & DiagMask)); in CheckResults()
1037 bool(DiagnosticLevelMask::Remark & DiagMask)); in CheckResults()
1042 bool(DiagnosticLevelMask::Note & DiagMask)); in CheckResults()
1135 const DiagnosticLevelMask DiagMask = in CheckDiagnostics()
1137 if (bool(DiagnosticLevelMask::Error & DiagMask)) in CheckDiagnostics()
1140 if (bool(DiagnosticLevelMask::Warning & DiagMask)) in CheckDiagnostics()
1143 if (bool(DiagnosticLevelMask::Remark & DiagMask)) in CheckDiagnostics()
1146 if (bool(DiagnosticLevelMask::Note & DiagMask)) in CheckDiagnostics()
H A DCompilerInvocation.cpp1401 DiagnosticLevelMask &M) { in parseDiagnosticLevelMask()
1404 DiagnosticLevelMask const PM = in parseDiagnosticLevelMask()
1405 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask()
1406 .Case("note", DiagnosticLevelMask::Note) in parseDiagnosticLevelMask()
1407 .Case("remark", DiagnosticLevelMask::Remark) in parseDiagnosticLevelMask()
1408 .Case("warning", DiagnosticLevelMask::Warning) in parseDiagnosticLevelMask()
1409 .Case("error", DiagnosticLevelMask::Error) in parseDiagnosticLevelMask()
1410 .Default(DiagnosticLevelMask::None); in parseDiagnosticLevelMask()
1411 if (PM == DiagnosticLevelMask::None) { in parseDiagnosticLevelMask()
2625 DiagnosticLevelMask VIU = Opts.getVerifyIgnoreUnexpected(); in GenerateDiagnosticArgs()
[all …]