Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/Rewrite/
DFixItRewriter.cpp122 void FixItRewriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
125 DiagnosticConsumer::HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
128 DiagLevel >= DiagnosticsEngine::Error || in HandleDiagnostic()
129 (DiagLevel == DiagnosticsEngine::Note && !PrevDiagSilenced) || in HandleDiagnostic()
130 (DiagLevel > DiagnosticsEngine::Note && Info.getNumFixItHints())) { in HandleDiagnostic()
131 Client->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
138 if (DiagLevel <= DiagnosticsEngine::Note) in HandleDiagnostic()
141 if (DiagLevel >= DiagnosticsEngine::Error && FixItOpts->FixOnlyWarnings) { in HandleDiagnostic()
176 if (DiagLevel >= DiagnosticsEngine::Error) { in HandleDiagnostic()
/external/clang/lib/Basic/
DDiagnosticIDs.cpp611 DiagnosticIDs::Level DiagLevel in ProcessDiag() local
616 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
625 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
633 Diag.LastDiagLevel = DiagLevel; in ProcessDiag()
639 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
649 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
650 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
654 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
670 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
677 EmitDiag(Diag, DiagLevel); in ProcessDiag()
[all …]
DDiagnostic.cpp352 Level DiagLevel = storedDiag.getLevel(); in Report() local
354 Client->HandleDiagnostic(DiagLevel, Info); in Report()
356 if (DiagLevel == DiagnosticsEngine::Warning) in Report()
371 DiagnosticIDs::Level DiagLevel in EmitCurrentDiagnostic() local
374 Emitted = (DiagLevel != DiagnosticIDs::Ignored); in EmitCurrentDiagnostic()
377 Diags->EmitDiag(*this, DiagLevel); in EmitCurrentDiagnostic()
399 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
404 if (DiagLevel == DiagnosticsEngine::Warning) in HandleDiagnostic()
406 else if (DiagLevel >= DiagnosticsEngine::Error) in HandleDiagnostic()
988 DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
[all …]
/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/tools/diagtool/
DShowEnabledWarnings.cpp129 DiagnosticsEngine::Level DiagLevel = in run() local
131 if (DiagLevel == DiagnosticsEngine::Ignored) in run()
135 Active.push_back(PrettyDiag(I->getName(), WarningOpt, DiagLevel)); in run()
/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp165 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
218 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
554 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument
556 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
585 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
590 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
609 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
612 EmitDiagnosticMessage(SourceLocation(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
615 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
624 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.h123 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/lib/Tooling/
DCompilationDatabase.cpp158 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
165 Other->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp56 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
59 Chained->HandleDiagnostic(DiagLevel, Info); in HandleDiagnostic()
/external/clang/include/clang/Basic/
DDiagnosticIDs.h276 void EmitDiag(DiagnosticsEngine &Diag, Level DiagLevel) const;
DDiagnostic.h1365 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
1372 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
1389 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/unittests/Tooling/
DToolingTest.cpp465 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic()