Lines Matching defs:Invocation
177 auto Invocation = std::make_shared<CompilerInvocation>();
178 Invocation->getPreprocessorOpts().addRemappedFile(
181 Invocation->getFrontendOpts().Inputs.push_back(
183 Invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly;
184 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
186 Compiler.setInvocation(std::move(Invocation));
236 auto Invocation = std::make_shared<CompilerInvocation>();
237 Invocation->getLangOpts().CPlusPlus = true;
238 Invocation->getPreprocessorOpts().addRemappedFile(
242 Invocation->getFrontendOpts().Inputs.push_back(
244 Invocation->getFrontendOpts().ProgramAction = frontend::ParseSyntaxOnly;
245 Invocation->getTargetOpts().Triple = "i386-unknown-linux-gnu";
247 Compiler.setInvocation(std::move(Invocation));
270 auto Invocation = std::make_shared<CompilerInvocation>();
271 Invocation->getLangOpts().CacheGeneratedPCH = ShouldCache;
272 Invocation->getPreprocessorOpts().addRemappedFile(
275 Invocation->getFrontendOpts().Inputs.push_back(
277 Invocation->getFrontendOpts().OutputFile = PCHFilename.str().str();
278 Invocation->getFrontendOpts().ProgramAction = frontend::GeneratePCH;
279 Invocation->getTargetOpts().Triple = "x86_64-apple-darwin19.0.0";
281 Compiler.setInvocation(std::move(Invocation));