Home
last modified time | relevance | path

Searched refs:getFrontendOpts (Results 1 – 23 of 23) sorted by relevance

/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp39 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/
DFrontendActionTest.cpp84 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/
DFrontendActions.cpp52 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 …]
DFrontendAction.cpp144 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 …]
DCompilerInstance.cpp73 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 …]
DASTUnit.cpp990 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 …]
DChainedIncludesSource.cpp122 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()
DCompilerInvocation.cpp2018 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/
Dcc1_main.cpp128 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
129 if (llvm::AreStatisticsEnabled() || Clang->getFrontendOpts().ShowStats) in cc1_main()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h194 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts() function
195 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function
DCompilerInstance.h280 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/
Dinvocation.cpp67 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/
Darcmt-test.cpp126 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/
DFrontendActions.cpp90 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction()
113 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation()
/external/clang/lib/ARCMigrate/
DARCMT.cpp256 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()
DObjCMT.cpp2016 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/
DExternalSemaSourceTest.cpp164 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
165 CI.getFrontendOpts().SkipFunctionBodies); in ExecuteAction()
/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp69 FrontendOptions &FrontendOpts = Invocation->getFrontendOpts(); in onBodySynthesis()
DAnalysisConsumer.cpp711 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer()
712 CI.getFrontendOpts().Plugins, in CreateAnalysisConsumer()
/external/clang/tools/libclang/
DIndexing.cpp543 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl()
590 CInvok->getFrontendOpts().SkipFunctionBodies = true; in clang_indexSourceFile_Impl()
/external/clang/unittests/Tooling/
DToolingTest.cpp252 Compiler.getFrontendOpts().SkipFunctionBodies = true; in CreateASTConsumer()
/external/clang/lib/Tooling/
DTooling.cpp96 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp724 CI.getLangOpts(), CI.getFrontendOpts().ShowTimers, InFile, LinkModules, in CreateASTConsumer()