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();
1146 if (!Invocation)
1153 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
1203 "Invocation must have exactly one source file!");
1503 if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) {
1504 const FrontendInputFile &Input = Invocation->getFrontendOpts().Inputs[0];
1540 AST->Invocation = std::move(CI);
1615 "Invocation must have exactly one source file!");
1691 if (!Invocation)
1697 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true;
1698 Invocation->getFrontendOpts().DisableFree = false;
1700 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1706 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1708 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1739 AST->Invocation = std::move(CI);
1837 AST->Invocation = CI;
1867 if (!Invocation)
1881 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1885 Invocation->getPreprocessorOpts().clearRemappedFiles();
1887 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first,
1896 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1901 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
2189 if (!Invocation)
2196 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
2249 "Invocation must have exactly one source file!");