Lines Matching refs:Invocation
97 clang::CompilerInvocation *Invocation = new clang::CompilerInvocation; in newInvocation() local
99 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), in newInvocation()
101 Invocation->getFrontendOpts().DisableFree = false; in newInvocation()
102 Invocation->getCodeGenOpts().DisableFree = false; in newInvocation()
103 Invocation->getDependencyOutputOpts() = DependencyOutputOptions(); in newInvocation()
104 return Invocation; in newInvocation()
135 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef), in runToolOnCodeWithArgs() local
139 Invocation.mapVirtualFile(FileNameRef, in runToolOnCodeWithArgs()
143 Invocation.mapVirtualFile(FilenameWithContent.first, in runToolOnCodeWithArgs()
147 return Invocation.run(); in runToolOnCodeWithArgs()
225 std::unique_ptr<clang::CompilerInvocation> Invocation( in run() local
231 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(), in run()
234 return runInvocation(BinaryName, Compilation.get(), Invocation.release(), in run()
240 clang::CompilerInvocation *Invocation, in runInvocation() argument
243 if (Invocation->getHeaderSearchOpts().Verbose) { in runInvocation()
249 return Action->runInvocation(Invocation, Files, PCHContainerOps, in runInvocation()
254 CompilerInvocation *Invocation, FileManager *Files, in runInvocation() argument
259 Compiler.setInvocation(Invocation); in runInvocation()
364 ToolInvocation Invocation(std::move(CommandLine), Action, Files.get(), in run() local
366 Invocation.setDiagnosticConsumer(DiagConsumer); in run()
368 Invocation.mapVirtualFile(MappedFile.first, MappedFile.second); in run()
369 if (!Invocation.run()) { in run()
392 bool runInvocation(CompilerInvocation *Invocation, FileManager *Files, in runInvocation() argument
397 Invocation, PCHContainerOps, in runInvocation()
398 CompilerInstance::createDiagnostics(&Invocation->getDiagnosticOpts(), in runInvocation()
432 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef), &Action, in buildASTFromCodeWithArgs() local
436 Invocation.mapVirtualFile(FileNameRef, in buildASTFromCodeWithArgs()
438 if (!Invocation.run()) in buildASTFromCodeWithArgs()