Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp115 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
118 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
121 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
122 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
123 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
124 Client->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
131 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic()
134 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
169 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/external/clang/include/clang/Frontend/
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()
DTextDiagnosticBuffer.h45 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
DLogDiagnosticPrinter.h79 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
DVerifyDiagnosticConsumer.h272 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/lib/Basic/
DDiagnosticIDs.cpp613 DiagnosticIDs::Level DiagLevel in ProcessDiag() local
618 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
627 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
635 Diag.LastDiagLevel = DiagLevel; in ProcessDiag()
641 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
651 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
652 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
656 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
672 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
679 EmitDiag(Diag, DiagLevel); in ProcessDiag()
[all …]
DDiagnostic.cpp338 Level DiagLevel = storedDiag.getLevel(); in Report() local
340 Client->HandleDiagnostic(DiagLevel, Info); in Report()
342 if (DiagLevel == DiagnosticsEngine::Warning) in Report()
357 DiagnosticIDs::Level DiagLevel in EmitCurrentDiagnostic() local
360 Emitted = (DiagLevel != DiagnosticIDs::Ignored); in EmitCurrentDiagnostic()
363 Diags->EmitDiag(*this, DiagLevel); in EmitCurrentDiagnostic()
385 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
390 if (DiagLevel == DiagnosticsEngine::Warning) in HandleDiagnostic()
392 else if (DiagLevel >= DiagnosticsEngine::Error) in HandleDiagnostic()
978 DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
[all …]
/external/clang/tools/diagtool/
DShowEnabledWarnings.cpp127 DiagnosticsEngine::Level DiagLevel = in run() local
129 if (DiagLevel == DiagnosticsEngine::Ignored) in run()
133 Active.push_back(PrettyDiag(I->getName(), WarningOpt, DiagLevel)); in run()
/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp163 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
216 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
562 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument
564 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
595 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
600 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
619 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
622 EmitDiagnosticMessage(SourceLocation(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
625 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
634 Renderer.emitDiagnostic(Info.getLocation(), DiagLevel, in HandleDiagnostic()
DVerifyDiagnosticConsumer.cpp111 DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info) { in HandleDiagnostic() argument
147 Buffer->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.h97 enum DiagLevel { enum
134 DiagLevel Level;
200 Diag(Location Loc, DiagLevel Level, const char *Message) in Diag()
/external/clang/include/clang/Rewrite/Frontend/
DFixItRewriter.h119 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp57 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
60 Chained->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/external/clang/lib/Tooling/
DCompilationDatabase.cpp159 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
166 Other->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/external/clang/include/clang/Basic/
DDiagnosticIDs.h276 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
DDiagnostic.h1352 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
1359 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
1376 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/unittests/Tooling/
DToolingTest.cpp313 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic()
/external/lldb/source/Symbol/
DClangASTContext.cpp475 void HandleDiagnostic (DiagnosticsEngine::Level DiagLevel, const Diagnostic &info) in HandleDiagnostic() argument