Lines Matching refs:Invocation
87 /// \brief Returns a clang build invocation initialized from the CC1 flags.
92 clang::CompilerInvocation *Invocation = new clang::CompilerInvocation;
94 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(),
96 Invocation->getFrontendOpts().DisableFree = false;
97 Invocation->getCodeGenOpts().DisableFree = false;
98 Invocation->getDependencyOutputOpts() = DependencyOutputOptions();
99 return Invocation;
135 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef),
149 return Invocation.run();
252 std::unique_ptr<clang::CompilerInvocation> Invocation(
259 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(),
262 return runInvocation(BinaryName, Compilation.get(), Invocation.release(),
268 clang::CompilerInvocation *Invocation,
270 // Show the invocation, with -v.
271 if (Invocation->getHeaderSearchOpts().Verbose) {
272 llvm::errs() << "clang Invocation:\n";
277 return Action->runInvocation(Invocation, Files, PCHContainerOps,
282 CompilerInvocation *Invocation, FileManager *Files,
287 Compiler.setInvocation(Invocation);
375 // requirements to the order of invocation of its members.
418 ToolInvocation Invocation(std::move(CommandLine), Action, Files.get(),
420 Invocation.setDiagnosticConsumer(DiagConsumer);
422 if (!Invocation.run()) {
445 bool runInvocation(CompilerInvocation *Invocation, FileManager *Files,
449 Invocation, PCHContainerOps,
450 CompilerInstance::createDiagnostics(&Invocation->getDiagnosticOpts(),
492 ToolInvocation Invocation(getSyntaxOnlyToolArgs(Args, FileNameRef), &Action,
499 if (!Invocation.run())