Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DDiagnostic.cpp38 Diagnostic::Level DiagLevel, StringRef BuildDirectory) in Diagnostic() argument
39 : DiagnosticName(DiagnosticName), DiagLevel(DiagLevel), in Diagnostic()
46 Level DiagLevel, llvm::StringRef BuildDirectory) in Diagnostic() argument
48 DiagLevel(DiagLevel), BuildDirectory(BuildDirectory) {} in Diagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFixItRewriter.cpp127 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
130 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
133 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
134 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
135 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
136 Client->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
143 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic()
146 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
181 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DDiagnosticIDs.cpp632 DiagnosticIDs::Level DiagLevel in ProcessDiag() local
637 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
646 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
654 Diag.LastDiagLevel = DiagLevel; in ProcessDiag()
660 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
670 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
671 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
675 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
691 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
702 EmitDiag(Diag, DiagLevel); in ProcessDiag()
[all …]
H A DDiagnostic.cpp488 Level DiagLevel = storedDiag.getLevel(); in Report() local
490 Client->HandleDiagnostic(DiagLevel, Info); in Report()
492 if (DiagLevel == DiagnosticsEngine::Warning) in Report()
507 DiagnosticIDs::Level DiagLevel in EmitCurrentDiagnostic() local
510 Emitted = (DiagLevel != DiagnosticIDs::Ignored); in EmitCurrentDiagnostic()
513 Diags->EmitDiag(*this, DiagLevel); in EmitCurrentDiagnostic()
533 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
538 if (DiagLevel == DiagnosticsEngine::Warning) in HandleDiagnostic()
540 else if (DiagLevel >= DiagnosticsEngine::Error) in HandleDiagnostic()
1123 DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DChainedDiagnosticConsumer.h60 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
63 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
65 Primary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
66 Secondary->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
H A DTextDiagnosticBuffer.h54 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
H A DLogDiagnosticPrinter.h79 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
H A DVerifyDiagnosticConsumer.h281 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/
H A DDiagnosticsYaml.h44 : DiagLevel(clang::tooling::Diagnostic::Level::Warning) {} in LLVM_YAML_IS_SEQUENCE_VECTOR()
48 Notes(D.Notes), DiagLevel(D.DiagLevel), in LLVM_YAML_IS_SEQUENCE_VECTOR()
53 DiagLevel, BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR()
60 clang::tooling::Diagnostic::Level DiagLevel; in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Core/
H A DDiagnostic.h58 Diagnostic(llvm::StringRef DiagnosticName, Level DiagLevel,
63 const SmallVector<DiagnosticMessage, 1> &Notes, Level DiagLevel,
79 Level DiagLevel; member
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp155 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
205 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
536 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument
538 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
567 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
572 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
591 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
594 EmitDiagnosticMessage(FullSourceLoc(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
597 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
607 FullSourceLoc(Info.getLocation(), Info.getSourceManager()), DiagLevel, in HandleDiagnostic()
H A DVerifyDiagnosticConsumer.cpp138 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) { in HandleDiagnostic() argument
174 Buffer->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/freebsd-12.1/contrib/compiler-rt/lib/ubsan/
H A Dubsan_diag.h97 enum DiagLevel { enum
140 DiagLevel Level;
209 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DCompilationDatabase.cpp189 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
194 } else if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
197 Other.HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Rewrite/Frontend/
H A DFixItRewriter.h126 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp47 void HandleDiagnostic(clang::DiagnosticsEngine::Level DiagLevel,
119 clang::DiagnosticsEngine::Level DiagLevel, const clang::Diagnostic &info) { in HandleDiagnostic() argument
125 IDAndDiagnostic(DiagLevel, std::string(diagnostic_string.data(), in HandleDiagnostic()
H A DClangExpressionParser.cpp152 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
163 switch (DiagLevel) { in HandleDiagnostic()
199 m_passthrough->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnosticIDs.h331 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
H A DDiagnostic.h1538 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
1546 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
1562 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTContext.cpp950 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument