Home
last modified time | relevance | path

Searched refs:DiagLevel (Results 1 – 20 of 20) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Core/
H A DDiagnostic.cpp49 Diagnostic::Level DiagLevel, StringRef BuildDirectory) in Diagnostic() argument
50 : DiagnosticName(DiagnosticName), DiagLevel(DiagLevel), in Diagnostic()
56 Level DiagLevel, llvm::StringRef BuildDirectory) in Diagnostic() argument
58 DiagLevel(DiagLevel), BuildDirectory(BuildDirectory) {} in Diagnostic()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp128 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
131 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
134 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
135 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
136 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
137 Client->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
144 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic()
147 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
182 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/
H A DDiagnosticsYaml.h67 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
71 DiagLevel(D.DiagLevel), BuildDirectory(D.BuildDirectory) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
75 DiagLevel, BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR()
81 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR()
91 Io.mapOptional("Level", Keys->DiagLevel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Frontend/
H A DChainedDiagnosticConsumer.h59 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
62 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
64 Primary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
65 Secondary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
H A DTextDiagnosticBuffer.h53 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
H A DLogDiagnosticPrinter.h78 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
H A DVerifyDiagnosticConsumer.h325 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp726 DiagnosticIDs::Level DiagLevel in ProcessDiag() local
731 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
740 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
748 Diag.LastDiagLevel = DiagLevel; in ProcessDiag()
754 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
764 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
765 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
769 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
785 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
796 EmitDiag(Diag, DiagLevel); in ProcessDiag()
[all …]
H A DDiagnostic.cpp502 Level DiagLevel = storedDiag.getLevel(); in Report() local
504 Client->HandleDiagnostic(DiagLevel, Info); in Report()
506 if (DiagLevel == DiagnosticsEngine::Warning) in Report()
521 DiagnosticIDs::Level DiagLevel in EmitCurrentDiagnostic() local
524 Emitted = (DiagLevel != DiagnosticIDs::Ignored); in EmitCurrentDiagnostic()
527 Diags->EmitDiag(*this, DiagLevel); in EmitCurrentDiagnostic()
547 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
552 if (DiagLevel == DiagnosticsEngine::Warning) in HandleDiagnostic()
554 else if (DiagLevel >= DiagnosticsEngine::Error) in HandleDiagnostic()
1138 DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Tooling/Core/
H A DDiagnostic.h77 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel,
81 const SmallVector<DiagnosticMessage, 1> &Notes, Level DiagLevel,
94 Level DiagLevel; member
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp157 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
207 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
541 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument
543 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
572 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
588 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
607 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
610 EmitDiagnosticMessage(FullSourceLoc(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
613 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
623 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), DiagLevel, in HandleDiagnostic()
H A DVerifyDiagnosticConsumer.cpp723 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) { in HandleDiagnostic() argument
759 Buffer->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/ubsan/
H A Dubsan_diag.h96 enum DiagLevel { enum
139 DiagLevel Level;
208 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/
H A DCompilationDatabase.cpp186 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
191 } else if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
194 Other.HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h125 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp52 void HandleDiagnostic(clang::DiagnosticsEngine::Level DiagLevel,
142 clang::DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &info) { in HandleDiagnostic() argument
145 m_diag_printer->HandleDiagnostic(DiagLevel, info); in HandleDiagnostic()
149 m_diagnostics.push_back(IDAndDiagnostic(DiagLevel, m_output)); in HandleDiagnostic()
H A DClangExpressionParser.cpp184 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
204 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
208 m_passthrough->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
214 switch (DiagLevel) { in HandleDiagnostic()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticIDs.h338 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
H A DDiagnostic.h1757 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
1765 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
1781 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp705 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument