Home
last modified time | relevance | path

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

12

/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp40 switch (CI.getFrontendOpts().ProgramAction) { in CreateFrontendBaseAction()
67 if (it->getName() == CI.getFrontendOpts().ActionName) { in CreateFrontendBaseAction()
71 !P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs[it->getName()])) in CreateFrontendBaseAction()
78 << CI.getFrontendOpts().ActionName; in CreateFrontendBaseAction()
127 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in CreateFrontendAction()
134 if (CI.getFrontendOpts().ProgramAction != frontend::MigrateSource && in CreateFrontendAction()
135 CI.getFrontendOpts().ProgramAction != frontend::GeneratePCH) { in CreateFrontendAction()
173 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
184 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
191 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()
DCodeGenActionTest.cpp47 Invocation->getFrontendOpts().Inputs.push_back( in TEST()
49 Invocation->getFrontendOpts().ProgramAction = EmitLLVM; 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()
98 +CI.getFrontendOpts().IncludeTimestamps)); in CreateASTConsumer()
109 if (CI.getFrontendOpts().RelocatablePCH && Sysroot.empty()) { in ComputeASTConsumerArguments()
118 CI.createOutputFile(CI.getFrontendOpts().OutputFile, /*Binary=*/true, in ComputeASTConsumerArguments()
124 OutputFile = CI.getFrontendOpts().OutputFile; in ComputeASTConsumerArguments()
[all …]
DFrontendAction.cpp160 for (size_t i = 0, e = CI.getFrontendOpts().AddPluginActions.size(); in CreateWrappedASTConsumer()
162 if (it->getName() == CI.getFrontendOpts().AddPluginActions[i]) { in CreateWrappedASTConsumer()
170 P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs[it->getName()])) { in CreateWrappedASTConsumer()
407 for (const auto &Filename : CI.getFrontendOpts().ModuleMapFiles) { in BeginSourceFile()
416 for (const auto &ModuleFile : CI.getFrontendOpts().ModuleFiles) in BeginSourceFile()
422 if (!CI.getFrontendOpts().OverrideRecordLayoutsFile.empty() && in BeginSourceFile()
426 CI.getFrontendOpts().OverrideRecordLayoutsFile)); in BeginSourceFile()
489 bool DisableFree = CI.getFrontendOpts().DisableFree; in EndSourceFile()
500 if (CI.getFrontendOpts().ShowStats) { in EndSourceFile()
545 !CI.getFrontendOpts().CodeCompletionAt.FileName.empty()) in ExecuteAction()
[all …]
DCompilerInstance.cpp75 getFrontendOpts().GenerateGlobalModuleIndex)) && in shouldBuildGlobalModuleIndex()
334 getFrontendOpts()); in createPreprocessor()
417 getFrontendOpts().ModuleFileExtensions, in createPCHExternalASTSource()
420 getFrontendOpts().UseGlobalModuleIndex); in createPCHExternalASTSource()
494 const ParsedSourceLocation &Loc = getFrontendOpts().CodeCompletionAt; in createCodeCompletionConsumer()
499 getFrontendOpts().CodeCompleteOpts, in createCodeCompletionConsumer()
582 return createOutputFile(getFrontendOpts().OutputFile, Binary, in createDefaultOutputFile()
724 getDependencyOutputOpts(), getFrontendOpts()); in InitializeSourceManager()
826 assert(!getFrontendOpts().ShowHelp && "Client must handle '-help'!"); in ExecuteAction()
827 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()
1189 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in ComputePreamble()
1347 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in getMainBufferWithPrecompiledPreamble()
1524 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble()
1546 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.cpp2346 InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), Args, Diags); in CreateFromArgs()
2367 if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) in CreateFromArgs()
2375 Res.getTargetOpts().HostTriple = Res.getFrontendOpts().AuxTriple; in CreateFromArgs()
2396 Res.getFrontendOpts().ProgramAction); in CreateFromArgs()
2465 const FrontendOptions &frontendOpts = getFrontendOpts(); in getModuleHash()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h198 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts() function
199 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/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.cpp91 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction()
114 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation()
/external/clang/lib/ARCMigrate/
DARCMT.cpp257 CInvok->getFrontendOpts().Inputs.clear(); in checkForManualIssues()
258 CInvok->getFrontendOpts().Inputs.push_back(Input); in checkForManualIssues()
357 CInvok.getFrontendOpts().Inputs.clear(); in applyTransforms()
358 CInvok.getFrontendOpts().Inputs.push_back(Input); in applyTransforms()
DObjCMT.cpp2014 unsigned ObjCMTAction = CI.getFrontendOpts().ObjCMTAction; in CreateASTConsumer()
2027 getWhiteListFilenames(CI.getFrontendOpts().ObjCMTWhiteListPath); in CreateASTConsumer()
2029 CI.getFrontendOpts().OutputFile, ObjCMTAction, Remapper, in CreateASTConsumer()
/external/clang/tools/driver/
Dcc1_main.cpp128 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
/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/unittests/Sema/
DExternalSemaSourceTest.cpp210 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction()
211 CI.getFrontendOpts().SkipFunctionBodies); in ExecuteAction()
/external/v8/tools/clang/translation_unit/
DTranslationUnitGenerator.cpp228 getCompilerInstance().getFrontendOpts().Inputs; in ExecuteAction()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp148 c.getFrontendOpts().ProgramAction = clang::frontend::EmitLLVMOnly; in compile()
/external/clang/tools/libclang/
DIndexing.cpp491 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl()
538 CInvok->getFrontendOpts().SkipFunctionBodies = true; in clang_indexSourceFile_Impl()
/external/clang/unittests/Tooling/
DToolingTest.cpp252 Compiler.getFrontendOpts().SkipFunctionBodies = true; in CreateASTConsumer()
/external/v8/tools/clang/blink_gc_plugin/
DBlinkGCPluginConsumer.cpp101 instance_.getFrontendOpts().OutputFile, // BaseInput in HandleTranslationUnit()
/external/clang/lib/Tooling/
DTooling.cpp98 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()

12