Lines Matching refs:Invocation

156 /// and file-to-buffer remappings inside \p Invocation.
158 getBufferForFileHandlingRemapping(const CompilerInvocation &Invocation,
161 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts();
262 if (Invocation && OwnsRemappedFileBuffers) {
263 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1102 if (!Invocation)
1109 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
1153 "Invocation must have exactly one source file!");
1465 if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) {
1466 const FrontendInputFile &Input = Invocation->getFrontendOpts().Inputs[0];
1502 AST->Invocation = std::move(CI);
1586 "Invocation must have exactly one source file!");
1662 if (!Invocation)
1668 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true;
1669 Invocation->getFrontendOpts().DisableFree = false;
1671 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1677 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1679 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1710 AST->Invocation = std::move(CI);
1798 AST->Invocation = CI;
1828 if (!Invocation)
1842 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1846 Invocation->getPreprocessorOpts().clearRemappedFiles();
1848 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first,
1857 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1862 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
2145 if (!Invocation)
2152 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
2212 "Invocation must have exactly one source file!");