/external/clang/lib/FrontendTool/ |
D | ExecuteCompilerInvocation.cpp | 40 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/ |
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()
|
D | CodeGenActionTest.cpp | 47 Invocation->getFrontendOpts().Inputs.push_back( in TEST() 49 Invocation->getFrontendOpts().ProgramAction = EmitLLVM; 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() 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 …]
|
D | FrontendAction.cpp | 160 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 …]
|
D | CompilerInstance.cpp | 75 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 …]
|
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() 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 …]
|
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 | 2346 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/ |
D | CompilerInvocation.h | 198 FrontendOptions &getFrontendOpts() { return FrontendOpts; } in getFrontendOpts() function 199 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/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 | 91 const FrontendOptions &FEOpts = getCompilerInstance().getFrontendOpts(); in BeginSourceFileAction() 114 const FrontendOptions &FEOpts = CI.getFrontendOpts(); in BeginInvocation()
|
/external/clang/lib/ARCMigrate/ |
D | ARCMT.cpp | 257 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()
|
D | ObjCMT.cpp | 2014 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/ |
D | cc1_main.cpp | 128 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
|
/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/unittests/Sema/ |
D | ExternalSemaSourceTest.cpp | 210 ParseAST(CI.getSema(), CI.getFrontendOpts().ShowStats, in ExecuteAction() 211 CI.getFrontendOpts().SkipFunctionBodies); in ExecuteAction()
|
/external/v8/tools/clang/translation_unit/ |
D | TranslationUnitGenerator.cpp | 228 getCompilerInstance().getFrontendOpts().Inputs; in ExecuteAction()
|
/external/mesa3d/src/gallium/state_trackers/clover/llvm/ |
D | invocation.cpp | 148 c.getFrontendOpts().ProgramAction = clang::frontend::EmitLLVMOnly; in compile()
|
/external/clang/tools/libclang/ |
D | Indexing.cpp | 491 if (CInvok->getFrontendOpts().Inputs.empty()) in clang_indexSourceFile_Impl() 538 CInvok->getFrontendOpts().SkipFunctionBodies = true; in clang_indexSourceFile_Impl()
|
/external/clang/unittests/Tooling/ |
D | ToolingTest.cpp | 252 Compiler.getFrontendOpts().SkipFunctionBodies = true; in CreateASTConsumer()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | BlinkGCPluginConsumer.cpp | 101 instance_.getFrontendOpts().OutputFile, // BaseInput in HandleTranslationUnit()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 98 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
|