reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/ASTContext.h
  733   DiagnosticsEngine &getDiagnostics() const;

References

tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1956       DiagnosticsEngine &Diags = Ctx.getDiagnostics();
 1989     Remapper.flushToFile(MigrateDir, Ctx.getDiagnostics());
 1991     Remapper.flushToDisk(MigrateDir, Ctx.getDiagnostics());
tools/clang/lib/AST/ASTContext.cpp
 6710       DiagnosticsEngine &Diags = C->getDiagnostics();
10181     return ItaniumMangleContext::create(*this, getDiagnostics());
10183     return MicrosoftMangleContext::create(*this, getDiagnostics());
tools/clang/lib/AST/ASTImporter.cpp
 8472           Cache->getBuffer(FromContext.getDiagnostics(),
 8727     ToContext.getDiagnostics().notePriorDiagnosticFrom(
 8728       FromContext.getDiagnostics());
 8730   return ToContext.getDiagnostics().Report(Loc, DiagID);
 8735     FromContext.getDiagnostics().notePriorDiagnosticFrom(
 8736       ToContext.getDiagnostics());
 8738   return FromContext.getDiagnostics().Report(Loc, DiagID);
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1602     FromCtx.getDiagnostics().notePriorDiagnosticFrom(ToCtx.getDiagnostics());
 1602     FromCtx.getDiagnostics().notePriorDiagnosticFrom(ToCtx.getDiagnostics());
 1604   return FromCtx.getDiagnostics().Report(Loc, DiagID);
 1611     ToCtx.getDiagnostics().notePriorDiagnosticFrom(FromCtx.getDiagnostics());
 1611     ToCtx.getDiagnostics().notePriorDiagnosticFrom(FromCtx.getDiagnostics());
 1613   return ToCtx.getDiagnostics().Report(Loc, DiagID);
tools/clang/lib/AST/Decl.cpp
 4425       Context.getDiagnostics().Report(
 4430       Context.getDiagnostics().Report(
tools/clang/lib/AST/ExprConstant.cpp
 2474       Info.Ctx.getDiagnostics().Report(E->getExprLoc(),
tools/clang/lib/AST/Interp/State.cpp
   76   return getCtx().getDiagnostics().Report(Loc, DiagId);
   95     unsigned Limit = getCtx().getDiagnostics().getConstexprBacktraceLimit();
tools/clang/lib/AST/RawCommentList.cpp
  186   comments::Lexer L(Allocator, Context.getDiagnostics(),
  208   comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(),
  213                    Context.getDiagnostics(),
  218                      Context.getDiagnostics(),
tools/clang/lib/AST/RecordLayoutBuilder.cpp
 2157   return Context.getDiagnostics().Report(Loc, DiagID);
tools/clang/lib/AST/VTableBuilder.cpp
 3161       DiagnosticsEngine &Diags = Context.getDiagnostics();
 3504       DiagnosticsEngine &Diags = Context.getDiagnostics();
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  324     Context.getDiagnostics().Report(diag::err_ctu_error_opening)
  328     Context.getDiagnostics().Report(diag::err_extdefmap_parsing)
  332     Context.getDiagnostics().Report(diag::err_multiple_def_index)
  336     Context.getDiagnostics().Report(diag::warn_ctu_incompat_triple)
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp
 1097     DiagnosticsEngine &Diags = Ctx.getDiagnostics();
tools/clang/lib/Frontend/FrontendAction.cpp
  120           = Ctx.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error,
  122         Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID)
tools/clang/lib/Sema/SemaType.cpp
 3890         !S.Context.getDiagnostics().isIgnored(diagKind, pointerLoc)) {
tools/clang/lib/Serialization/ASTReader.cpp
 4913   ReadPragmaDiagnosticMappings(Context.getDiagnostics());
tools/clang/lib/Serialization/ASTWriter.cpp
 1436   const auto &Diags = Context.getDiagnostics();
tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp
   66   Context.getDiagnostics()
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
  202     DiagnosticsEngine &Engine = Context.getDiagnostics();
tools/clang/lib/Tooling/Transformer/Transformer.cpp
   29   if (Result.Context->getDiagnostics().hasErrorOccurred())
tools/clang/tools/clang-refactor/ToolRefactoringResultConsumer.h
   26     Diags = &Context.getDiagnostics();
tools/clang/tools/extra/clang-include-fixer/IncludeFixer.cpp
  129   unsigned DiagID = Ctx.getDiagnostics().getCustomDiagID(
tools/clang/tools/extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp
  239   if (Result.Context->getDiagnostics().hasErrorOccurred()) {
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
  187         DiagnosticsEngine &DiagEngine = Context.getDiagnostics();
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousSemicolonCheck.cpp
   32   if (Result.Context->getDiagnostics().hasUncompilableErrorOccurred())
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp
   74   if (Result.Context->getDiagnostics().hasUncompilableErrorOccurred())
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
   72   if (Result.Context->getDiagnostics().hasUncompilableErrorOccurred())
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp
  179   if (Context->getDiagnostics().hasUncompilableErrorOccurred())
tools/clang/tools/extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
   71   if (Result.Context->getDiagnostics().hasErrorOccurred())
tools/clang/tools/extra/clangd/CodeCompletionStrings.cpp
   88       RC->getFormattedText(Ctx.getSourceManager(), Ctx.getDiagnostics());
tools/clang/unittests/AST/ASTImporterTest.cpp
 1876   EXPECT_EQ(0u, ToTU->getASTContext().getDiagnostics().getNumWarnings());
 1909   EXPECT_EQ(1u, ToTU->getASTContext().getDiagnostics().getNumWarnings());
 3416   EXPECT_EQ(1u, ToTU->getASTContext().getDiagnostics().getNumWarnings());
 4217     EXPECT_EQ(0u, ToTU->getASTContext().getDiagnostics().getNumWarnings());
 4824   EXPECT_EQ(0u, ToTU->getASTContext().getDiagnostics().getNumWarnings());
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
  247     EXPECT_EQ(0u, ToTu->getASTContext().getDiagnostics().getNumWarnings());
  269                       .getDiagnostics()
tools/clang/unittests/Frontend/FrontendActionTest.cpp
  211     unsigned DiagID = Ctx.getDiagnostics().getCustomDiagID(
tools/clang/unittests/Tooling/RangeSelectorTest.cpp
   47   assert(!Context.getDiagnostics().hasErrorOccurred() && "Compilation error");
tools/clang/unittests/Tooling/ToolingTest.cpp
  648           auto &Diags = (*D.begin())->getASTContext().getDiagnostics();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
 1496             m_ast_context->getDiagnostics().getCustomDiagID(
 1498         m_ast_context->getDiagnostics().Report(diag_id) << error.AsCString();
 1505             m_ast_context->getDiagnostics().getCustomDiagID(
 1507         m_ast_context->getDiagnostics().Report(diag_id) << warning.c_str();
tools/lldb/source/Symbol/ClangASTContext.cpp
  699   m_ast_up->getDiagnostics().setClient(getDiagnosticConsumer(), false);