Home
last modified time | relevance | path

Searched refs:getDiagnostics (Results 1 – 25 of 224) sorted by relevance

123456789

/external/llvm-project/clang-tools-extra/clangd/unittests/
DDiagnosticsTests.cpp135 TU.build().getDiagnostics(), in TEST()
173 EXPECT_THAT(TU.build().getDiagnostics(), in TEST()
180 TU.build().getDiagnostics(), in TEST()
192 EXPECT_THAT(TU.build().getDiagnostics(), in TEST()
209 TU.build().getDiagnostics(), in TEST()
229 TU.build().getDiagnostics(), in TEST()
254 TU.build().getDiagnostics(), in TEST()
296 TU.build().getDiagnostics(), in TEST()
314 TU.build().getDiagnostics(), in TEST()
340 EXPECT_THAT(TU.build().getDiagnostics(), in TEST()
[all …]
/external/llvm-project/clang/lib/ARCMigrate/
DARCMTActions.cpp19 CI.getDiagnostics().getClient())) in BeginInvocation()
23 CI.getDiagnostics().setIgnoreAllWarnings(true); in BeginInvocation()
33 CI.getDiagnostics().getClient()); in BeginInvocation()
42 CI.getDiagnostics().getClient(), MigrateDir, EmitPremigrationARCErros, in BeginInvocation()
47 CI.getDiagnostics().setIgnoreAllWarnings(true); in BeginInvocation()
/external/clang/lib/ARCMigrate/
DARCMTActions.cpp20 CI.getDiagnostics().getClient())) in BeginInvocation()
24 CI.getDiagnostics().setIgnoreAllWarnings(true); in BeginInvocation()
34 CI.getDiagnostics().getClient()); in BeginInvocation()
43 CI.getDiagnostics().getClient(), MigrateDir, EmitPremigrationARCErros, in BeginInvocation()
48 CI.getDiagnostics().setIgnoreAllWarnings(true); in BeginInvocation()
/external/clang/lib/Frontend/
DASTMerge.cpp36 CI.getDiagnostics().getClient()->BeginSourceFile( in ExecuteAction()
38 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, in ExecuteAction()
41 DiagIDs(CI.getDiagnostics().getDiagnosticIDs()); in ExecuteAction()
46 *CI.getDiagnostics().getClient()), in ExecuteAction()
79 CI.getDiagnostics().getClient()->EndSourceFile(); in ExecuteAction()
DCompilerInstance.cpp243 SourceMgr = new SourceManager(getDiagnostics(), FileMgr); in createSourceManager()
304 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics()); in createPreprocessor()
309 getDiagnostics(), in createPreprocessor()
312 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor()
329 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor()
483 PP.getDiagnostics().Report(diag::err_fe_invalid_code_complete_file) in EnableCodeCompletion()
511 getPreprocessor().getDiagnostics().Report(diag::err_fe_stdout_binary); in createCodeCompletionConsumer()
565 getDiagnostics().Report(diag::err_unable_to_rename_temp) in clearOutputFiles()
605 getDiagnostics().Report(diag::err_fe_unable_to_open_output) << OutputPath in createOutputFile()
722 Input, getDiagnostics(), getFileManager(), getSourceManager(), in InitializeSourceManager()
[all …]
DASTUnit.cpp236 if (MainFileIsAST && getDiagnostics().getClient()) { in ~ASTUnit()
237 getDiagnostics().getClient()->EndSourceFile(); in ~ASTUnit()
526 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions()
676 AST->SourceMgr = new SourceManager(AST->getDiagnostics(), in LoadFromASTFile()
683 AST->getDiagnostics(), in LoadFromASTFile()
698 new Preprocessor(PPOpts, AST->getDiagnostics(), AST->ASTFileLangOpts, in LoadFromASTFile()
739 AST->getDiagnostics().Report(diag::err_fe_unable_to_load_pch); in LoadFromASTFile()
756 AST->getDiagnostics().getClient()->BeginSourceFile(Context.getLangOpts(),&PP); in LoadFromASTFile()
1057 Clang->setDiagnostics(&getDiagnostics()); in Parse()
1061 Clang->getDiagnostics(), Clang->getInvocation().TargetOpts)); in Parse()
[all …]
DFrontendAction.cpp115 = Ctx.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error, in DeclRead()
117 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID) in DeclRead()
209 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(&CI.getDiagnostics()); in BeginSourceFile()
246 CI.getDiagnostics())) in BeginSourceFile()
304 CI.getDiagnostics().Report(diag::err_fe_no_pch_in_dir) << PCHInclude; in BeginSourceFile()
412 CI.getDiagnostics().Report(diag::err_module_map_not_found) << Filename; in BeginSourceFile()
530 return getCompilerInstance().getDiagnostics().hasErrorOccurred(); in shouldEraseOutputFiles()
DFrontendActions.cpp110 CI.getDiagnostics().Report(diag::err_relocatable_without_isysroot); in ComputeASTConsumerArguments()
275 CI.getDiagnostics().Report(diag::err_module_map_not_found) in BeginSourceFileAction()
286 CI.getDiagnostics().Report(diag::err_modules_embed_file_not_found) << F; in BeginSourceFileAction()
297 CI.getDiagnostics().Report(diag::err_missing_module_name); in BeginSourceFileAction()
318 CI.getDiagnostics().Report(diag::err_missing_module) in BeginSourceFileAction()
330 CI.getDiagnostics().Report(MissingHeader.FileNameLoc, in BeginSourceFileAction()
334 CI.getDiagnostics().Report(diag::err_module_unavailable) in BeginSourceFileAction()
363 CI.getDiagnostics().Report(diag::err_module_cannot_create_includes) in BeginSourceFileAction()
/external/llvm-project/clang/lib/Frontend/
DASTMerge.cpp35 CI.getDiagnostics().getClient()->BeginSourceFile( in ExecuteAction()
37 CI.getDiagnostics().SetArgToStringFn(&FormatASTNodeDiagnosticArgument, in ExecuteAction()
40 DiagIDs(CI.getDiagnostics().getDiagnosticIDs()); in ExecuteAction()
47 *CI.getDiagnostics().getClient()), in ExecuteAction()
80 CI.getDiagnostics().getClient()->EndSourceFile(); in ExecuteAction()
DCompilerInstance.cpp319 getDiagnostics()); in createFileManager()
328 SourceMgr = new SourceManager(getDiagnostics(), FileMgr); in createSourceManager()
398 getDiagnostics(), getLangOpts(), &getTarget()); in createPreprocessor()
400 getDiagnostics(), getLangOpts(), in createPreprocessor()
411 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor()
585 PP.getDiagnostics().Report(diag::err_fe_invalid_code_complete_file) in EnableCodeCompletion()
664 getDiagnostics().Report(diag::err_unable_to_rename_temp) in clearOutputFiles()
705 getDiagnostics().Report(diag::err_fe_unable_to_open_output) << OutputPath in createOutputFile()
826 return InitializeSourceManager(Input, getDiagnostics(), getFileManager(), in InitializeSourceManager()
924 setTarget(TargetInfo::CreateTargetInfo(getDiagnostics(), in ExecuteAction()
[all …]
DFrontendAction.cpp121 = Ctx.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error, in DeclRead()
123 Ctx.getDiagnostics().Report(Ctx.getFullLoc(D->getLocation()), DiagID) in DeclRead()
166 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) << Arg; in CreateWrappedASTConsumer()
461 CI.getDiagnostics().Report(diag::err_missing_module_name); in prepareToBuildModule()
475 CI.getDiagnostics().Report(diag::err_missing_module) in prepareToBuildModule()
483 CI.getDiagnostics(), M)) in prepareToBuildModule()
500 CI.getDiagnostics().Report(diag::err_module_map_not_found) in prepareToBuildModule()
534 CI.getLangOpts(), FileMgr, CI.getDiagnostics(), in getInputBufferForModule()
539 CI.getDiagnostics().Report(diag::err_module_cannot_create_includes) in getInputBufferForModule()
565 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(&CI.getDiagnostics()); in BeginSourceFile()
[all …]
DASTUnit.cpp253 if (MainFileIsAST && getDiagnostics().getClient()) { in ~ASTUnit()
254 getDiagnostics().getClient()->EndSourceFile(); in ~ASTUnit()
280 assert(getDiagnostics().getClient() && Ctx && in enableSourceFileDiagnostics()
282 getDiagnostics().getClient()->BeginSourceFile(Ctx->getLangOpts(), PP.get()); in enableSourceFileDiagnostics()
571 TargetInfo::CreateTargetInfo(PP.getDiagnostics(), this->TargetOpts); in ReadTargetOptions()
783 AST->SourceMgr = new SourceManager(AST->getDiagnostics(), in LoadFromASTFile()
791 AST->getDiagnostics(), in LoadFromASTFile()
805 AST->PPOpts, AST->getDiagnostics(), *AST->LangOpts, in LoadFromASTFile()
847 AST->getDiagnostics().Report(diag::err_fe_unable_to_load_pch); in LoadFromASTFile()
867 AST->getDiagnostics().getClient()->BeginSourceFile(PP.getLangOpts(), &PP); in LoadFromASTFile()
[all …]
/external/llvm-project/clang/lib/AST/
DASTDumper.cpp171 ASTDumper Dumper(OS, Context, Context.getDiagnostics().getShowColors()); in dump()
199 ASTDumper P(OS, Ctx, Ctx.getDiagnostics().getShowColors()); in dump()
222 ASTDumper P(OS, Ctx, Ctx.getDiagnostics().getShowColors()); in dumpLookups()
238 ASTDumper P(OS, Context, Context.getDiagnostics().getShowColors()); in dump()
264 ASTDumper Dumper(OS, Context, Context.getDiagnostics().getShowColors()); in dump()
288 Context.getDiagnostics().getShowColors()); in dump()
/external/llvm-project/clang/lib/Serialization/
DGeneratePCH.cpp46 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit()
63 PP.getDiagnostics().getClient()->clear(); in HandleTranslationUnit()
71 PP.getDiagnostics().hasUncompilableErrorOccurred(), in HandleTranslationUnit()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp99 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction()
125 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation()
141 CI.getDiagnostics().Reset(); in BeginInvocation()
158 InFile, OS, CI.getDiagnostics(), CI.getLangOpts(), in CreateASTConsumer()
162 CI.getDiagnostics(), CI.getLangOpts(), in CreateASTConsumer()
/external/llvm-project/clang/unittests/Frontend/
DPCHPreambleTest.cpp206 ASSERT_FALSE(AST->getDiagnostics().hasErrorOccurred()); in TEST_F()
232 ASSERT_FALSE(AST->getDiagnostics().hasErrorOccurred()); in TEST_F()
237 ASSERT_FALSE(AST->getDiagnostics().hasErrorOccurred()); in TEST_F()
248 ASSERT_FALSE(AST->getDiagnostics().hasErrorOccurred()); in TEST_F()
260 ASSERT_FALSE(AST->getDiagnostics().hasErrorOccurred()); in TEST_F()
/external/llvm-project/clang/lib/StaticAnalyzer/Frontend/
DAnalyzerHelpFlags.cpp33 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerHelp()
44 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printEnabledCheckerList()
53 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerConfigList()
DCreateCheckerManager.cpp25 PP(&PP), Diags(Context.getDiagnostics()), in CheckerManager()
27 CheckerRegistry Registry(*RegistryData, plugins, Context.getDiagnostics(), in CheckerManager()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp105 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction()
131 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation()
151 CI.getDiagnostics().Reset(); in BeginInvocation()
169 std::string(InFile), std::move(OS), CI.getDiagnostics(), in CreateASTConsumer()
173 CI.getDiagnostics(), CI.getLangOpts(), in CreateASTConsumer()
/external/clang/lib/Serialization/
DGeneratePCH.cpp47 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit()
57 PP.getDiagnostics().hasUncompilableErrorOccurred()); in HandleTranslationUnit()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp52 compiler.getDiagnostics(), in TEST()
64 compiler.getDiagnostics(), in TEST()
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp77 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) in CreateFrontendBaseAction()
113 CI.getDiagnostics().Report(diag::err_fe_action_not_available) << Action; in CreateFrontendBaseAction()
195 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
235 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
/external/llvm-project/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp91 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) in CreateFrontendBaseAction()
129 CI.getDiagnostics().Report(diag::err_fe_action_not_available) << Action; in CreateFrontendBaseAction()
210 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
272 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
/external/clang/tools/driver/
Dcc1_main.cpp109 static_cast<void*>(&Clang->getDiagnostics())); in cc1_main()
111 DiagsBuffer->FlushDiagnostics(Clang->getDiagnostics()); in cc1_main()
/external/clang/lib/AST/
DRawCommentList.cpp186 comments::Lexer L(Allocator, Context.getDiagnostics(), in extractBriefText()
208 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(), in parse()
213 Context.getDiagnostics(), in parse()
218 Context.getDiagnostics(), in parse()

123456789