/external/clang/lib/FrontendTool/ |
D | ExecuteCompilerInvocation.cpp | 39 switch (CI.getFrontendOpts().ProgramAction) { in CreateFrontendBaseAction() 66 if (it->getName() == CI.getFrontendOpts().ActionName) { in CreateFrontendBaseAction() 68 if (!P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs)) in CreateFrontendBaseAction() 75 << CI.getFrontendOpts().ActionName; in CreateFrontendBaseAction() 122 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in CreateFrontendAction() 129 if (CI.getFrontendOpts().ProgramAction != frontend::MigrateSource && in CreateFrontendAction() 130 CI.getFrontendOpts().ProgramAction != frontend::GeneratePCH) { in CreateFrontendAction() 166 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation() 177 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation() 184 e = Clang->getFrontendOpts().Plugins.size(); i != e; ++i) { in ExecuteCompilerInvocation() [all …]
|
/external/clang/unittests/Frontend/ |
D | FrontendActionTest.cpp | 84 invocation->getFrontendOpts().Inputs.push_back(FrontendInputFile("test.cc", in TEST() 86 invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly; in TEST() 104 invocation->getFrontendOpts().Inputs.push_back(FrontendInputFile("test.cc", in TEST() 106 invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly; in TEST() 131 invocation->getFrontendOpts().Inputs.push_back(FrontendInputFile("test.cc", in TEST() 133 invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly; in TEST() 177 Invocation->getFrontendOpts().Inputs.push_back( in TEST() 179 Invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly; in TEST()
|
/external/clang/lib/Frontend/ |
D | FrontendActions.cpp | 52 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter); in CreateASTConsumer() 58 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter, in CreateASTConsumer() 59 CI.getFrontendOpts().ASTDumpDecls, in CreateASTConsumer() 60 CI.getFrontendOpts().ASTDumpLookups); in CreateASTConsumer() 88 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 95 Buffer, CI.getFrontendOpts().ModuleFileExtensions)); in CreateASTConsumer() 106 if (CI.getFrontendOpts().RelocatablePCH && Sysroot.empty()) { in ComputeASTConsumerArguments() 115 CI.createOutputFile(CI.getFrontendOpts().OutputFile, /*Binary=*/true, in ComputeASTConsumerArguments() 121 OutputFile = CI.getFrontendOpts().OutputFile; in ComputeASTConsumerArguments() 140 Buffer, CI.getFrontendOpts().ModuleFileExtensions, in CreateASTConsumer() [all …]
|
D | FrontendAction.cpp | 144 if (CI.getFrontendOpts().AddPluginActions.size() == 0) in CreateWrappedASTConsumer() 152 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size(); in CreateWrappedASTConsumer() 160 if (it->getName() != CI.getFrontendOpts().AddPluginActions[i]) in CreateWrappedASTConsumer() 163 if (P->ParseArgs(CI, CI.getFrontendOpts().AddPluginArgs[i])) in CreateWrappedASTConsumer() 389 for (const auto &Filename : CI.getFrontendOpts().ModuleMapFiles) { in BeginSourceFile() 398 for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles) in BeginSourceFile() 404 if (!CI.getFrontendOpts().OverrideRecordLayoutsFile.empty() && in BeginSourceFile() 408 CI.getFrontendOpts().OverrideRecordLayoutsFile)); in BeginSourceFile() 471 bool DisableFree = CI.getFrontendOpts().DisableFree; in EndSourceFile() 482 if (CI.getFrontendOpts().ShowStats) { in EndSourceFile() [all …]
|
D | CompilerInstance.cpp | 73 getFrontendOpts().GenerateGlobalModuleIndex)) && in shouldBuildGlobalModuleIndex() 332 getFrontendOpts()); in createPreprocessor() 411 getFrontendOpts().ModuleFileExtensions, in createPCHExternalASTSource() 414 getFrontendOpts().UseGlobalModuleIndex); in createPCHExternalASTSource() 488 const ParsedSourceLocation &Loc = getFrontendOpts().CodeCompletionAt; in createCodeCompletionConsumer() 493 getFrontendOpts().CodeCompleteOpts, in createCodeCompletionConsumer() 576 return createOutputFile(getFrontendOpts().OutputFile, Binary, in createDefaultOutputFile() 717 getFrontendOpts()); in InitializeSourceManager() 791 assert(!getFrontendOpts().ShowHelp && "Client must handle '-help'!"); in ExecuteAction() 792 assert(!getFrontendOpts().ShowVersion && "Client must handle '-version'!"); in ExecuteAction() [all …]
|
D | ASTUnit.cpp | 990 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 1053 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in Parse() 1071 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Parse() 1073 assert(Clang->getFrontendOpts().Inputs[0].getKind() != IK_AST && in Parse() 1075 assert(Clang->getFrontendOpts().Inputs[0].getKind() != IK_LLVM_IR && in Parse() 1138 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Parse() 1191 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in ComputePreamble() 1349 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in getMainBufferWithPrecompiledPreamble() 1516 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble() 1538 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in getMainBufferWithPrecompiledPreamble() [all …]
|
D | ChainedIncludesSource.cpp | 122 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in createChainedIncludesSource() 140 CInvok->getFrontendOpts().Inputs.clear(); in createChainedIncludesSource() 142 CInvok->getFrontendOpts().Inputs.push_back(InputFile); in createChainedIncludesSource()
|
D | CompilerInvocation.cpp | 2018 InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags); in CreateFromArgs() 2034 if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) in CreateFromArgs() 2044 Res.getFrontendOpts().ProgramAction); in CreateFromArgs() 2163 const FrontendOptions &frontendOpts = getFrontendOpts(); in getModuleHash()
|
/external/clang/tools/driver/ |
D | cc1_main.cpp | 128 if (Clang->getFrontendOpts().DisableFree) { in cc1_main() 129 if (llvm::AreStatisticsEnabled() || Clang->getFrontendOpts().ShowStats) in cc1_main()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInvocation.h | 194 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts() function 195 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function
|
D | CompilerInstance.h | 280 FrontendOptions &getFrontendOpts() { in getFrontendOpts() function 281 return Invocation->getFrontendOpts(); in getFrontendOpts() 283 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function 284 return Invocation->getFrontendOpts(); in getFrontendOpts()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | invocation.cpp | 67 c.getFrontendOpts().Inputs.push_back( 103 c.getFrontendOpts().Inputs.push_back( in compile() 105 c.getFrontendOpts().ProgramAction = clang::frontend::EmitLLVMOnly; in compile()
|
/external/clang/tools/arcmt-test/ |
D | arcmt-test.cpp | 126 if (CI.getFrontendOpts().Inputs.empty()) { in checkForMigration() 134 arcmt::checkForManualIssues(CI, CI.getFrontendOpts().Inputs[0], in checkForMigration() 166 if (origCI.getFrontendOpts().Inputs.empty()) { in performTransformations()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 90 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction() 113 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 256 CInvok->getFrontendOpts().Inputs.clear(); in checkForManualIssues() 257 CInvok->getFrontendOpts().Inputs.push_back(Input); in checkForManualIssues() 356 CInvok.getFrontendOpts().Inputs.clear(); in applyTransforms() 357 CInvok.getFrontendOpts().Inputs.push_back(Input); in applyTransforms()
|
D | ObjCMT.cpp | 2016 unsigned ObjCMTAction = CI.getFrontendOpts().ObjCMTAction; in CreateASTConsumer() 2029 getWhiteListFilenames(CI.getFrontendOpts().ObjCMTWhiteListPath); in CreateASTConsumer() 2031 CI.getFrontendOpts().OutputFile, ObjCMTAction, Remapper, in CreateASTConsumer()
|
/external/clang/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 164 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction() 165 CI.getFrontendOpts().SkipFunctionBodies); in ExecuteAction()
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
D | ModelInjector.cpp | 69 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in onBodySynthesis()
|
D | AnalysisConsumer.cpp | 711 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer() 712 CI.getFrontendOpts().Plugins, in CreateAnalysisConsumer()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 543 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl() 590 CInvok->getFrontendOpts().SkipFunctionBodies = true; in clang_indexSourceFile_Impl()
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 252 Compiler.getFrontendOpts().SkipFunctionBodies = true; in CreateASTConsumer()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 96 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 724 CI.getLangOpts(), CI.getFrontendOpts().ShowTimers, InFile, LinkModules, in CreateASTConsumer()
|