Home
last modified time | relevance | path

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

12

/external/clang/unittests/Frontend/
DFrontendActionTest.cpp80 CompilerInvocation *invocation = new CompilerInvocation; in TEST()
100 CompilerInvocation *invocation = new CompilerInvocation; in TEST()
120 CompilerInvocation *invocation = new CompilerInvocation; in TEST()
173 CompilerInvocation *Invocation = new CompilerInvocation; in TEST()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h39 class CompilerInvocation; variable
52 class CompilerInvocationBase : public RefCountedBase<CompilerInvocation> {
102 class CompilerInvocation : public CompilerInvocationBase {
124 CompilerInvocation() : AnalyzerOpts(new AnalyzerOptions()) {} in CompilerInvocation() function
136 static bool CreateFromArgs(CompilerInvocation &Res,
214 createVFSFromCompilerInvocation(const CompilerInvocation &CI,
DASTUnit.h51 class CompilerInvocation; variable
114 IntrusiveRefCntPtr<CompilerInvocation> Invocation;
441 ComputedPreamble ComputePreamble(CompilerInvocation &Invocation,
445 const CompilerInvocation &PreambleInvocationIn, bool AllowRebuild = true,
709 static ASTUnit *create(CompilerInvocation *CI,
768 CompilerInvocation *CI, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
789 CompilerInvocation *CI, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
DUtils.h37 class CompilerInvocation; variable
176 CompilerInvocation *
DCompilerInstance.h71 IntrusiveRefCntPtr<CompilerInvocation> Invocation;
219 CompilerInvocation &getInvocation() { in getInvocation()
225 void setInvocation(CompilerInvocation *Value);
/external/clang/include/clang/ARCMigrate/
DARCMT.h40 bool checkForManualIssues(CompilerInvocation &CI,
50 bool applyTransformations(CompilerInvocation &origCI,
65 bool migrateWithTemporaryFiles(CompilerInvocation &origCI,
95 CompilerInvocation OrigCI;
102 MigrationProcess(const CompilerInvocation &CI, DiagnosticConsumer *diagClient,
/external/clang/lib/Frontend/
DCreateInvocationFromCommandLine.cpp32 CompilerInvocation *
81 std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation()); in createInvocationFromCommandLine()
82 if (!CompilerInvocation::CreateFromArgs(*CI, in createInvocationFromCommandLine()
DCMakeLists.txt18 CompilerInvocation.cpp
DAndroid.mk31 CompilerInvocation.cpp \
DASTUnit.cpp1031 IntrusiveRefCntPtr<CompilerInvocation> in Parse()
1032 CCInvocation(new CompilerInvocation(*Invocation)); in Parse()
1173 ASTUnit::ComputePreamble(CompilerInvocation &Invocation, unsigned MaxLines) { in ComputePreamble()
1326 const CompilerInvocation &PreambleInvocationIn, bool AllowRebuild, in getMainBufferWithPrecompiledPreamble()
1329 IntrusiveRefCntPtr<CompilerInvocation> in getMainBufferWithPrecompiledPreamble()
1330 PreambleInvocation(new CompilerInvocation(PreambleInvocationIn)); in getMainBufferWithPrecompiledPreamble()
1682 ASTUnit *ASTUnit::create(CompilerInvocation *CI, in create()
1705 CompilerInvocation *CI, IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in LoadFromCompilerInvocationAction()
1870 CompilerInvocation *CI, IntrusiveRefCntPtr<DiagnosticsEngine> Diags, in LoadFromCompilerInvocation()
1919 IntrusiveRefCntPtr<CompilerInvocation> CI; in LoadFromCommandLine()
[all …]
DChainedIncludesSource.cpp127 std::unique_ptr<CompilerInvocation> CInvok; in createChainedIncludesSource()
128 CInvok.reset(new CompilerInvocation(CI.getInvocation())); in createChainedIncludesSource()
DCompilerInvocation.cpp55 : RefCountedBase<CompilerInvocation>(), in CompilerInvocationBase()
1034 std::string CompilerInvocation::GetResourcesPath(const char *Argv0, in GetResourcesPath()
1175 void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK, in setLangDefaults()
1359 CompilerInvocation::setLangDefaults(Opts, IK, LangStd); in ParseLangArgs()
1835 bool CompilerInvocation::CreateFromArgs(CompilerInvocation &Res, in CreateFromArgs()
1945 std::string CompilerInvocation::getModuleHash() const { in getModuleHash()
2075 createVFSFromCompilerInvocation(const CompilerInvocation &CI, in createVFSFromCompilerInvocation()
DCompilerInstance.cpp56 Invocation(new CompilerInvocation()), ModuleManager(nullptr), in CompilerInstance()
65 void CompilerInstance::setInvocation(CompilerInvocation *Value) { in setInvocation()
869 IntrusiveRefCntPtr<CompilerInvocation> Invocation in compileModuleImpl()
870 (new CompilerInvocation(ImportingInstance.getInvocation())); in compileModuleImpl()
/external/clang/lib/ARCMigrate/
DARCMT.cpp147 static bool HasARCRuntime(CompilerInvocation &origCI) { in HasARCRuntime()
168 static CompilerInvocation *
169 createInvocationForMigration(CompilerInvocation &origCI) { in createInvocationForMigration()
170 std::unique_ptr<CompilerInvocation> CInvok; in createInvocationForMigration()
171 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
233 bool arcmt::checkForManualIssues(CompilerInvocation &origCI, in checkForManualIssues()
249 std::unique_ptr<CompilerInvocation> CInvok; in checkForManualIssues()
333 static bool applyTransforms(CompilerInvocation &origCI, in applyTransforms()
345 CompilerInvocation CInvokForCheck(origCI); in applyTransforms()
350 CompilerInvocation CInvok(origCI); in applyTransforms()
[all …]
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp51 CompilerInvocation *Invocation = new CompilerInvocation; in testExternalASTSource()
55 CompilerInvocation::CreateFromArgs(*Invocation, Args, in testExternalASTSource()
/external/clang/include/clang/Tooling/
DTooling.h54 class CompilerInvocation; variable
69 virtual bool runInvocation(clang::CompilerInvocation *Invocation,
85 bool runInvocation(clang::CompilerInvocation *Invocation, FileManager *Files,
232 clang::CompilerInvocation *Invocation);
388 clang::CompilerInvocation *newInvocation(
/external/clang/lib/Tooling/
DTooling.cpp93 clang::CompilerInvocation *newInvocation( in newInvocation()
97 clang::CompilerInvocation *Invocation = new clang::CompilerInvocation; in newInvocation()
98 clang::CompilerInvocation::CreateFromArgs( in newInvocation()
226 std::unique_ptr<clang::CompilerInvocation> Invocation( in run()
241 clang::CompilerInvocation *Invocation) { in runInvocation()
252 bool FrontendActionFactory::runInvocation(CompilerInvocation *Invocation, in runInvocation()
387 bool runInvocation(CompilerInvocation *Invocation, FileManager *Files, in runInvocation()
/external/clang/examples/clang-interpreter/
Dmain.cpp130 std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation); in main()
131 CompilerInvocation::CreateFromArgs(*CI, in main()
159 CompilerInvocation::GetResourcesPath(argv[0], MainAddr); in main()
/external/clang/tools/arcmt-test/
Darcmt-test.cpp121 CompilerInvocation CI; in checkForMigration()
122 if (!CompilerInvocation::CreateFromArgs(CI, Args.begin(), Args.end(), *Diags)) in checkForMigration()
159 CompilerInvocation origCI; in performTransformations()
160 if (!CompilerInvocation::CreateFromArgs(origCI, Args.begin(), Args.end(), in performTransformations()
344 resourcesPath = CompilerInvocation::GetResourcesPath(argv[0], MainAddr); in main()
/external/clang/tools/driver/
Dcc1_main.cpp86 bool Success = CompilerInvocation::CreateFromArgs( in cc1_main()
93 CompilerInvocation::GetResourcesPath(Argv0, MainAddr); in cc1_main()
/external/clang/lib/StaticAnalyzer/Frontend/
DModelInjector.cpp66 IntrusiveRefCntPtr<CompilerInvocation> Invocation( in onBodySynthesis()
67 new CompilerInvocation(CI.getInvocation())); in onBodySynthesis()
/external/clang/tools/clang-fuzzer/
DClangFuzzer.cpp35 std::unique_ptr<clang::CompilerInvocation> Invocation( in TestOneInput()
/external/clang/tools/diagtool/
DShowEnabledWarnings.cpp67 std::unique_ptr<CompilerInvocation> Invocation( in createDiagnostics()
/external/clang/tools/libclang/
DIndexing.cpp556 IntrusiveRefCntPtr<CompilerInvocation> in clang_indexSourceFile_Impl()
563 llvm::CrashRecoveryContextCleanupRegistrar<CompilerInvocation, in clang_indexSourceFile_Impl()
564 llvm::CrashRecoveryContextReleaseRefCleanup<CompilerInvocation> > in clang_indexSourceFile_Impl()
/external/clang/include/clang/Driver/
DCC1Options.td298 // CompilerInvocation out of a driver-derived argument vector.

12