Home
last modified time | relevance | path

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

12

/netbsd-src/external/mit/isl/dist/interface/
H A Dextract_interface.cc224 static void create_from_args(CompilerInvocation &invocation, in create_from_args()
227 CompilerInvocation::CreateFromArgs(invocation, *args, Diags); in create_from_args()
235 static void create_from_args(CompilerInvocation &invocation, in create_from_args()
238 CompilerInvocation::CreateFromArgs(invocation, args->data() + 1, in create_from_args()
270 static CompilerInvocation *construct_invocation(const char *filename, in construct_invocation()
289 CompilerInvocation *invocation = new CompilerInvocation; in construct_invocation()
296 static CompilerInvocation *construct_invocation(const char *filename, in construct_invocation()
444 CompilerInvocation::setLangDefaults(Clang->getLangOpts(), IK_C, in set_lang_defaults()
453 CompilerInvocation *invocation) in set_invocation()
455 Clang->setInvocation(std::make_shared<CompilerInvocation>(*invocation)); in set_invocation()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ARCMigrate/
H A DARCMT.h41 checkForManualIssues(CompilerInvocation &CI, const FrontendInputFile &Input,
52 applyTransformations(CompilerInvocation &origCI,
69 CompilerInvocation &origCI, const FrontendInputFile &Input,
97 CompilerInvocation OrigCI;
105 MigrationProcess(const CompilerInvocation &CI,
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DARCMT.cpp149 static bool HasARCRuntime(CompilerInvocation &origCI) { in HasARCRuntime()
173 static CompilerInvocation *
174 createInvocationForMigration(CompilerInvocation &origCI, in createInvocationForMigration()
176 std::unique_ptr<CompilerInvocation> CInvok; in createInvocationForMigration()
177 CInvok.reset(new CompilerInvocation(origCI)); in createInvocationForMigration()
238 CompilerInvocation &origCI, const FrontendInputFile &Input, in checkForManualIssues()
253 std::unique_ptr<CompilerInvocation> CInvok; in checkForManualIssues()
339 applyTransforms(CompilerInvocation &origCI, const FrontendInputFile &Input, in applyTransforms()
349 CompilerInvocation CInvokForCheck(origCI); in applyTransforms()
355 CompilerInvocation CInvok(origCI); in applyTransforms()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h37 class CompilerInvocation; variable
82 Build(const CompilerInvocation &Invocation,
107 bool CanReuse(const CompilerInvocation &Invocation,
119 void AddImplicitPreamble(CompilerInvocation &CI,
126 void OverridePreamble(CompilerInvocation &CI,
235 void configurePreamble(PreambleBounds Bounds, CompilerInvocation &CI,
H A DCompilerInvocation.h188 class CompilerInvocation : public CompilerInvocationRefBase,
202 static bool CreateFromArgs(CompilerInvocation &Res,
247 static bool CreateFromArgsImpl(CompilerInvocation &Res,
284 createVFSFromCompilerInvocation(const CompilerInvocation &CI,
288 const CompilerInvocation &CI, DiagnosticsEngine &Diags,
H A DASTUnit.h67 class CompilerInvocation; variable
139 std::shared_ptr<CompilerInvocation> Invocation;
376 CompilerInvocation &PreambleInvocationIn,
666 create(std::shared_ptr<CompilerInvocation> CI,
751 std::shared_ptr<CompilerInvocation> CI,
778 std::shared_ptr<CompilerInvocation> CI,
H A DUtils.h45 class CompilerInvocation; variable
220 std::unique_ptr<CompilerInvocation> createInvocationFromCommandLine(
H A DCompilerInstance.h75 std::shared_ptr<CompilerInvocation> Invocation;
228 CompilerInvocation &getInvocation() { in getInvocation()
234 void setInvocation(std::shared_ptr<CompilerInvocation> Value);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DCreateInvocationFromCommandLine.cpp27 std::unique_ptr<CompilerInvocation> clang::createInvocationFromCommandLine( in createInvocationFromCommandLine()
95 auto CI = std::make_unique<CompilerInvocation>(); in createInvocationFromCommandLine()
96 if (!CompilerInvocation::CreateFromArgs(*CI, CCArgs, *Diags, Args[0]) && in createInvocationFromCommandLine()
H A DCompilerInvocation.cpp178 CompilerInvocation::StringAllocator, in denormalizeSimpleFlag()
219 CompilerInvocation::StringAllocator, Option::OptionClass, in makeBooleanOptionDenormalizer()
228 CompilerInvocation::StringAllocator SA, in denormalizeStringImpl()
251 CompilerInvocation::StringAllocator SA, in denormalizeString()
296 CompilerInvocation::StringAllocator SA, in denormalizeSimpleEnumImpl()
313 CompilerInvocation::StringAllocator SA, in denormalizeSimpleEnum()
353 CompilerInvocation::StringAllocator SA, in denormalizeStringVector()
442 static bool FixupInvocation(CompilerInvocation &Invocation, in FixupInvocation()
585 CompilerInvocation::StringAllocator SA) { in GenerateArg()
594 CompilerInvocation::StringAllocator SA) { in GenerateArg()
[all …]
H A DPrecompiledPreamble.cpp312 const CompilerInvocation &Invocation, in Build()
320 auto PreambleInvocation = std::make_shared<CompilerInvocation>(Invocation); in Build()
495 bool PrecompiledPreamble::CanReuse(const CompilerInvocation &Invocation, in CanReuse()
504 auto PreambleInvocation = std::make_shared<CompilerInvocation>(Invocation); in CanReuse()
607 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
614 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
792 PreambleBounds Bounds, CompilerInvocation &CI, in configurePreamble()
H A DChainedIncludesSource.cpp127 std::unique_ptr<CompilerInvocation> CInvok; in createChainedIncludesSource()
128 CInvok.reset(new CompilerInvocation(CI.getInvocation())); in createChainedIncludesSource()
H A DCMakeLists.txt18 CompilerInvocation.cpp
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DTooling.cpp144 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics, in newInvocation()
148 CompilerInvocation *Invocation = new CompilerInvocation; in newInvocation()
149 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, *Diagnostics, in newInvocation()
358 std::unique_ptr<CompilerInvocation> Invocation( in run()
366 std::shared_ptr<CompilerInvocation> Invocation, in runInvocation()
380 std::shared_ptr<CompilerInvocation> Invocation, FileManager *Files, in runInvocation()
448 ("-resource-dir=" + CompilerInvocation::GetResourcesPath(Argv0, MainAddr)) in injectResourceDir()
580 bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation, in runInvocation()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp21 static CompilerInvocation
23 const CompilerInvocation &Invocation) { in makeInvocationForModuleBuildWithoutPaths()
25 CompilerInvocation CI(Invocation); in makeInvocationForModuleBuildWithoutPaths()
41 serializeCompilerInvocation(const CompilerInvocation &CI) { in serializeCompilerInvocation()
58 CompilerInvocation CI(Invocation); in getCanonicalCommandLine()
H A DDependencyScanningWorker.cpp60 bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation, in runInvocation()
77 const CompilerInvocation &CI = Compiler.getInvocation(); in runInvocation()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/
H A DTooling.h54 class CompilerInvocation; variable
79 runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
96 bool runInvocation(std::shared_ptr<CompilerInvocation> Invocation,
276 std::shared_ptr<CompilerInvocation> Invocation,
496 CompilerInvocation *newInvocation(DiagnosticsEngine *Diagnostics,
/netbsd-src/external/apache2/llvm/dist/clang/examples/clang-interpreter/
H A Dmain.cpp182 std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation); in main()
183 CompilerInvocation::CreateFromArgs(*CI, CCArgs, Diags); in main()
207 CompilerInvocation::GetResourcesPath(argv[0], MainAddr); in main()
/netbsd-src/external/apache2/llvm/dist/clang/tools/arcmt-test/
H A Darcmt-test.cpp123 CompilerInvocation CI; in checkForMigration()
124 if (!CompilerInvocation::CreateFromArgs(CI, Args, *Diags)) in checkForMigration()
161 CompilerInvocation origCI; in performTransformations()
162 if (!CompilerInvocation::CreateFromArgs(origCI, Args, *TopDiags)) in performTransformations()
348 resourcesPath = CompilerInvocation::GetResourcesPath(argv[0], MainAddr); in main()
/netbsd-src/external/mit/isl/dist/m4/
H A Dax_detect_clang.m4107 [clang/Frontend/CompilerInvocation.h],
109 [Define if CompilerInvocation::CreateFromArgs takes
206 [SETLANGDEFAULTS=CompilerInvocation])
225 [Define if CompilerInvocation::setLangDefaults takes 5 arguments])])
228 #include <clang/Frontend/CompilerInvocation.h>
231 CompilerInvocation *invocation;
233 Clang->setInvocation(std::make_shared<CompilerInvocation>(*invocation));
/netbsd-src/external/apache2/llvm/dist/clang/lib/Interpreter/
H A DInterpreter.cpp79 bool Success = CompilerInvocation::CreateFromArgs( in CreateCI()
87 CompilerInvocation::GetResourcesPath(Argv[0], nullptr); in CreateCI()
146 CompilerInvocation Invocation; in create()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp138 auto Invocation = std::make_unique<CompilerInvocation>(); in main()
139 CompilerInvocation::CreateFromArgs(*Invocation, CC1Args, Diagnostics); in main()
/netbsd-src/external/apache2/llvm/dist/clang/tools/driver/
H A Dcc1_main.cpp212 bool Success = CompilerInvocation::CreateFromArgs(Clang->getInvocation(), in cc1_main()
227 CompilerInvocation::GetResourcesPath(Argv0, MainAddr); in cc1_main()
/netbsd-src/external/apache2/llvm/lib/libclangFrontend/
H A DMakefile15 CompilerInvocation.cpp \
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-fuzzer/handle-cxx/
H A Dhandle_cxx.cpp39 std::unique_ptr<clang::CompilerInvocation> Invocation( in HandleCXX()

12