Home
last modified time | relevance | path

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

/external/clang/include/clang/Basic/
DDiagnosticOptions.h30 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 …]
DDiagnosticOptions.def72 ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4,
73 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
/external/clang/lib/Basic/
DDiagnosticOptions.cpp19 raw_ostream& operator<<(raw_ostream& Out, DiagnosticLevelMask M) { in operator <<()
20 using UT = std::underlying_type<DiagnosticLevelMask>::type; in operator <<()
/external/clang/lib/Frontend/
DVerifyDiagnosticConsumer.cpp750 const DiagnosticLevelMask DiagMask = in CheckResults()
756 bool(DiagnosticLevelMask::Error & DiagMask)); in CheckResults()
761 bool(DiagnosticLevelMask::Warning & DiagMask)); in CheckResults()
766 bool(DiagnosticLevelMask::Remark & DiagMask)); in CheckResults()
771 bool(DiagnosticLevelMask::Note & DiagMask)); in CheckResults()
866 const DiagnosticLevelMask DiagMask = in CheckDiagnostics()
868 if (bool(DiagnosticLevelMask::Error & DiagMask)) in CheckDiagnostics()
871 if (bool(DiagnosticLevelMask::Warning & DiagMask)) in CheckDiagnostics()
874 if (bool(DiagnosticLevelMask::Remark & DiagMask)) in CheckDiagnostics()
877 if (bool(DiagnosticLevelMask::Note & DiagMask)) in CheckDiagnostics()
DCompilerInvocation.cpp331 DiagnosticLevelMask &M) { in parseDiagnosticLevelMask()
334 DiagnosticLevelMask const PM = in parseDiagnosticLevelMask()
335 llvm::StringSwitch<DiagnosticLevelMask>(Level) in parseDiagnosticLevelMask()
336 .Case("note", DiagnosticLevelMask::Note) in parseDiagnosticLevelMask()
337 .Case("remark", DiagnosticLevelMask::Remark) in parseDiagnosticLevelMask()
338 .Case("warning", DiagnosticLevelMask::Warning) in parseDiagnosticLevelMask()
339 .Case("error", DiagnosticLevelMask::Error) in parseDiagnosticLevelMask()
340 .Default(DiagnosticLevelMask::None); in parseDiagnosticLevelMask()
341 if (PM == DiagnosticLevelMask::None) { in parseDiagnosticLevelMask()
831 DiagnosticLevelMask DiagMask = DiagnosticLevelMask::None; in ParseDiagnosticArgs()
[all …]