Home
last modified time | relevance | path

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

123

/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.cpp241 SourceMgr = new SourceManager(getDiagnostics(), FileMgr); in createSourceManager()
302 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics()); in createPreprocessor()
307 getDiagnostics(), in createPreprocessor()
310 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor()
327 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor()
477 PP.getDiagnostics().Report(diag::err_fe_invalid_code_complete_file) in EnableCodeCompletion()
505 getPreprocessor().getDiagnostics().Report(diag::err_fe_stdout_binary); in createCodeCompletionConsumer()
559 getDiagnostics().Report(diag::err_unable_to_rename_temp) in clearOutputFiles()
599 getDiagnostics().Report(diag::err_fe_unable_to_open_output) << OutputPath in createOutputFile()
715 return InitializeSourceManager(Input, getDiagnostics(), 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()
191 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(&CI.getDiagnostics()); in BeginSourceFile()
228 CI.getDiagnostics())) in BeginSourceFile()
286 CI.getDiagnostics().Report(diag::err_fe_no_pch_in_dir) << PCHInclude; in BeginSourceFile()
394 CI.getDiagnostics().Report(diag::err_module_map_not_found) << Filename; in BeginSourceFile()
512 return getCompilerInstance().getDiagnostics().hasErrorOccurred(); in shouldEraseOutputFiles()
DFrontendActions.cpp107 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()
364 CI.getDiagnostics().Report(diag::err_module_cannot_create_includes) in BeginSourceFileAction()
DHeaderIncludeGen.cpp90 PP.getDiagnostics().Report(clang::diag::warn_fe_cc_print_header_failure) in AttachHeaderIncludeGen()
DDependencyFile.cpp237 PP.getDiagnostics().Report(diag::err_fe_dependency_file_requires_MT); in CreateAndAttachToPreprocessor()
400 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile in OutputDependencyFile()
DDependencyGraph.cpp103 PP->getDiagnostics().Report(diag::err_fe_error_opening) << OutputFile in OutputGraphFile()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp98 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction()
124 FixItRewriter Rewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginInvocation()
140 CI.getDiagnostics().Reset(); in BeginInvocation()
157 CI.getDiagnostics(), CI.getLangOpts(), in CreateASTConsumer()
162 CI.getDiagnostics(), CI.getLangOpts(), in CreateASTConsumer()
DHTMLPrint.cpp63 if (PP.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit()
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp74 CI.getDiagnostics().Report(diag::err_fe_invalid_plugin_name) in CreateFrontendBaseAction()
109 CI.getDiagnostics().Report(diag::err_fe_action_not_available) << Action; in CreateFrontendBaseAction()
188 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
216 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp51 compiler.getDiagnostics(), in TEST()
63 compiler.getDiagnostics(), in TEST()
/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()
/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/CodeGen/
DCodeGenAction.cpp696 CI.getDiagnostics().Report(diag::err_cannot_open_file) in CreateASTConsumer()
705 CI.getDiagnostics().Report(diag::err_cannot_open_file) << LinkBCFile in CreateASTConsumer()
722 BA, CI.getDiagnostics(), CI.getHeaderSearchOpts(), in CreateASTConsumer()
771 CI.getDiagnostics().getCustomDiagID(DiagnosticsEngine::Error, "%0"); in ExecuteAction()
773 CI.getDiagnostics().Report(Loc, DiagID) << Msg; in ExecuteAction()
778 CI.getDiagnostics().Report(SourceLocation(), in ExecuteAction()
818 EmitBackendOutput(CI.getDiagnostics(), CI.getCodeGenOpts(), TargetOpts, in ExecuteAction()
DCodeGenABITypes.cpp33 CGM(new CodeGen::CodeGenModule(C, *HSO, *PPO, *CGO, M, C.getDiagnostics(), in CodeGenABITypes()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp211 new ClangDiagPathDiagConsumer(PP.getDiagnostics()); in DigestAnalyzerOptions()
293 PP.getDiagnostics()); in Initialize()
296 *Ctx, PP.getDiagnostics(), PP.getLangOpts(), PathConsumers, in Initialize()
509 DiagnosticsEngine &Diags = PP.getDiagnostics(); in HandleTranslationUnit()
705 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
DModelInjector.cpp85 Instance.getDiagnostics().setSourceManager(&SM); in onBodySynthesis()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp484 DiagnosticsEngine TmpDiags(PP.getDiagnostics().getDiagnosticIDs(), in HighlightMacros()
485 &PP.getDiagnostics().getDiagnosticOptions(), in HighlightMacros()
492 DiagnosticsEngine *OldDiags = &TmpPP.getDiagnostics(); in HighlightMacros()
/external/clang/lib/Serialization/
DGeneratePCH.cpp47 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit()
/external/clang/lib/Sema/
DSema.cpp79 Diags(PP.getDiagnostics()), SourceMgr(PP.getSourceManager()), in Sema()
1136 FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics())); in PushFunctionScope()
1140 FunctionScopes.push_back(new BlockScopeInfo(getDiagnostics(), in PushBlockScope()
1145 LambdaScopeInfo *const LSI = new LambdaScopeInfo(getDiagnostics()); in PushLambdaScope()
1356 bool Suppress = getDiagnostics().getSuppressAllDiagnostics(); in tryExprAsCall()
1357 getDiagnostics().setSuppressAllDiagnostics(true); in tryExprAsCall()
1360 getDiagnostics().setSuppressAllDiagnostics(Suppress); in tryExprAsCall()
1512 getDiagnostics(), S, CD, RD, CD->getContextParam(), K); in PushCapturedRegionScope()
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp57 Compiler.getDiagnostics()); in testExternalASTSource()
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp93 DiagnosticsEngine &D = CI.getDiagnostics(); in ParseArgs()
/external/clang/tools/clang-check/
DClangCheck.cpp130 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(), in BeginSourceFileAction()

123