Home
last modified time | relevance | path

Searched refs:DiagLevel (Results 1 – 18 of 18) 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/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.cpp605 DiagnosticIDs::Level DiagLevel in ProcessDiag() local
610 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
619 if (DiagLevel != DiagnosticIDs::Note) { in ProcessDiag()
627 Diag.LastDiagLevel = DiagLevel; in ProcessDiag()
633 if (DiagLevel >= DiagnosticIDs::Error && in ProcessDiag()
643 if (DiagLevel == DiagnosticIDs::Ignored || in ProcessDiag()
644 (DiagLevel == DiagnosticIDs::Note && in ProcessDiag()
648 if (DiagLevel >= DiagnosticIDs::Error) { in ProcessDiag()
664 DiagLevel == DiagnosticIDs::Error) { in ProcessDiag()
671 EmitDiag(Diag, DiagLevel); in ProcessDiag()
[all …]
DDiagnostic.cpp351 Level DiagLevel = storedDiag.getLevel(); in Report() local
353 Client->HandleDiagnostic(DiagLevel, Info); in Report()
355 if (DiagLevel == DiagnosticsEngine::Warning) in Report()
370 DiagnosticIDs::Level DiagLevel in EmitCurrentDiagnostic() local
373 Emitted = (DiagLevel != DiagnosticIDs::Ignored); in EmitCurrentDiagnostic()
376 Diags->EmitDiag(*this, DiagLevel); in EmitCurrentDiagnostic()
398 void DiagnosticConsumer::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
403 if (DiagLevel == DiagnosticsEngine::Warning) in HandleDiagnostic()
405 else if (DiagLevel >= DiagnosticsEngine::Error) in HandleDiagnostic()
987 DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
[all …]
/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.cpp164 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
217 unsigned getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel,
553 unsigned SDiagsWriter::getEmitDiagnosticFlag(DiagnosticsEngine::Level DiagLevel, in getEmitDiagnosticFlag() argument
555 if (DiagLevel == DiagnosticsEngine::Note) in getEmitDiagnosticFlag()
584 void SDiagsWriter::HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
589 if (DiagLevel != DiagnosticsEngine::Note) { in HandleDiagnostic()
608 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
611 EmitDiagnosticMessage(SourceLocation(), PresumedLoc(), DiagLevel, in HandleDiagnostic()
614 if (DiagLevel == DiagnosticsEngine::Note) in HandleDiagnostic()
623 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/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.h1358 virtual void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
1365 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic() argument
1382 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel,
/external/clang/unittests/Tooling/
DToolingTest.cpp410 void HandleDiagnostic(DiagnosticsEngine::Level DiagLevel, in HandleDiagnostic()
/external/lldb/source/Symbol/
DClangASTContext.cpp475 void HandleDiagnostic (DiagnosticsEngine::Level DiagLevel, const Diagnostic &info) in HandleDiagnostic() argument