/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 | 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() 469 bool DisableFree = CI.getFrontendOpts().DisableFree; in EndSourceFile() 484 if (CI.getFrontendOpts().ShowStats) { in EndSourceFile() [all …]
|
D | FrontendActions.cpp | 51 return CreateASTPrinter(OS, CI.getFrontendOpts().ASTDumpFilter); in CreateASTConsumer() 57 return CreateASTDumper(CI.getFrontendOpts().ASTDumpFilter, in CreateASTConsumer() 58 CI.getFrontendOpts().ASTDumpDecls, in CreateASTConsumer() 59 CI.getFrontendOpts().ASTDumpLookups); in CreateASTConsumer() 87 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 97 if (CI.getFrontendOpts().RelocatablePCH && Sysroot.empty()) { in ComputeASTConsumerArguments() 106 CI.createOutputFile(CI.getFrontendOpts().OutputFile, /*Binary=*/true, in ComputeASTConsumerArguments() 112 OutputFile = CI.getFrontendOpts().OutputFile; in ComputeASTConsumerArguments() 364 if (CI.getFrontendOpts().OutputFile.empty()) { in ComputeASTConsumerArguments() 366 CI.getFrontendOpts().OutputFile = in ComputeASTConsumerArguments() [all …]
|
D | ASTUnit.cpp | 974 if (!CI.getFrontendOpts().RelocatablePCH) in CreateASTConsumer() 1035 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in Parse() 1053 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in Parse() 1055 assert(Clang->getFrontendOpts().Inputs[0].getKind() != IK_AST && in Parse() 1057 assert(Clang->getFrontendOpts().Inputs[0].getKind() != IK_LLVM_IR && in Parse() 1121 if (!Act->BeginSourceFile(*Clang.get(), Clang->getFrontendOpts().Inputs[0])) in Parse() 1174 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts(); in ComputePreamble() 1331 FrontendOptions &FrontendOpts = PreambleInvocation->getFrontendOpts(); in getMainBufferWithPrecompiledPreamble() 1497 OriginalSourceFile = Clang->getFrontendOpts().Inputs[0].getFile(); in getMainBufferWithPrecompiledPreamble() 1519 assert(Clang->getFrontendOpts().Inputs.size() == 1 && in getMainBufferWithPrecompiledPreamble() [all …]
|
D | CompilerInstance.cpp | 72 getFrontendOpts().GenerateGlobalModuleIndex)) && in shouldBuildGlobalModuleIndex() 324 InitializePreprocessor(*PP, PPOpts, getFrontendOpts()); in createPreprocessor() 401 getFrontendOpts().UseGlobalModuleIndex); in createPCHExternalASTSource() 473 const ParsedSourceLocation &Loc = getFrontendOpts().CodeCompletionAt; in createCodeCompletionConsumer() 478 getFrontendOpts().CodeCompleteOpts, in createCodeCompletionConsumer() 559 return createOutputFile(getFrontendOpts().OutputFile, Binary, in createDefaultOutputFile() 698 getFrontendOpts()); in InitializeSourceManager() 772 assert(!getFrontendOpts().ShowHelp && "Client must handle '-help'!"); in ExecuteAction() 773 assert(!getFrontendOpts().ShowVersion && "Client must handle '-version'!"); in ExecuteAction() 792 if (getFrontendOpts().ProgramAction == frontend::RewriteObjC) in ExecuteAction() [all …]
|
D | ChainedIncludesSource.cpp | 120 InputKind IK = CI.getFrontendOpts().Inputs[0].getKind(); in createChainedIncludesSource() 138 CInvok->getFrontendOpts().Inputs.clear(); in createChainedIncludesSource() 140 CInvok->getFrontendOpts().Inputs.push_back(InputFile); in createChainedIncludesSource()
|
D | CompilerInvocation.cpp | 1871 InputKind DashX = ParseFrontendArgs(Res.getFrontendOpts(), *Args, Diags); in CreateFromArgs() 1878 if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC) in CreateFromArgs() 1888 Res.getFrontendOpts().ProgramAction); in CreateFromArgs()
|
/external/lldb/source/Expression/ |
D | ClangExpressionParser.cpp | 116 switch (CI.getFrontendOpts().ProgramAction) { in CreateFrontendBaseAction() 143 if (it->getName() == CI.getFrontendOpts().ActionName) { in CreateFrontendBaseAction() 145 if (!P->ParseArgs(CI, CI.getFrontendOpts().PluginArgs)) in CreateFrontendBaseAction() 152 << CI.getFrontendOpts().ActionName; in CreateFrontendBaseAction() 175 if (!CI.getFrontendOpts().ASTMergeFiles.empty()) in CreateFrontendAction() 176 Act = new ASTMergeAction(Act, CI.getFrontendOpts().ASTMergeFiles); in CreateFrontendAction()
|
/external/clang/tools/driver/ |
D | cc1_main.cpp | 122 if (Clang->getFrontendOpts().DisableFree) { in cc1_main() 123 if (llvm::AreStatisticsEnabled() || Clang->getFrontendOpts().ShowStats) in cc1_main()
|
/external/clang/include/clang/Frontend/ |
D | CompilerInstance.h | 272 FrontendOptions &getFrontendOpts() { in getFrontendOpts() function 273 return Invocation->getFrontendOpts(); in getFrontendOpts() 275 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function 276 return Invocation->getFrontendOpts(); in getFrontendOpts()
|
D | CompilerInvocation.h | 194 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts() function 195 const FrontendOptions &getFrontendOpts() const { in getFrontendOpts() function
|
/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 | 125 if (CI.getFrontendOpts().Inputs.empty()) { in checkForMigration() 133 arcmt::checkForManualIssues(CI, CI.getFrontendOpts().Inputs[0], in checkForMigration() 164 if (origCI.getFrontendOpts().Inputs.empty()) { in performTransformations()
|
/external/clang/lib/Frontend/Rewrite/ |
D | FrontendActions.cpp | 89 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction() 112 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 251 CInvok->getFrontendOpts().Inputs.clear(); in checkForManualIssues() 252 CInvok->getFrontendOpts().Inputs.push_back(Input); in checkForManualIssues() 351 CInvok.getFrontendOpts().Inputs.clear(); in applyTransforms() 352 CInvok.getFrontendOpts().Inputs.push_back(Input); in applyTransforms()
|
D | ObjCMT.cpp | 2033 unsigned ObjCMTAction = CI.getFrontendOpts().ObjCMTAction; in CreateASTConsumer() 2046 getWhiteListFilenames(CI.getFrontendOpts().ObjCMTWhiteListPath); in CreateASTConsumer() 2048 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 | 704 CI.getPreprocessor(), CI.getFrontendOpts().OutputFile, analyzerOpts, in CreateAnalysisConsumer() 705 CI.getFrontendOpts().Plugins, in CreateAnalysisConsumer()
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 235 Compiler.getFrontendOpts().SkipFunctionBodies = true; in CreateASTConsumer()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 567 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl() 613 CInvok->getFrontendOpts().SkipFunctionBodies = true; in clang_indexSourceFile_Impl()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 101 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 663 CI.getLangOpts(), CI.getFrontendOpts().ShowTimers, InFile, in CreateASTConsumer()
|