Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Invocation

157 /// and file-to-buffer remappings inside \p Invocation.
159 getBufferForFileHandlingRemapping(const CompilerInvocation &Invocation,
162 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts();
166 // invocation (to a memory buffer).
261 // compiler instance *not* free these buffers for each invocation of the
263 if (Invocation && OwnsRemappedFileBuffers) {
264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1093 /// invocation, replacing the current translation unit.
1100 if (!Invocation)
1107 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
1157 "Invocation must have exactly one source file!");
1438 assert(CI.hasInvocation() && "missing invocation");
1455 if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) {
1456 const FrontendInputFile &Input = Invocation->getFrontendOpts().Inputs[0];
1492 AST->Invocation = std::move(CI);
1567 "Invocation must have exactly one source file!");
1643 if (!Invocation)
1649 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true;
1650 Invocation->getFrontendOpts().DisableFree = false;
1652 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1658 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1660 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1691 AST->Invocation = std::move(CI);
1780 AST->Invocation = CI;
1810 if (!Invocation)
1824 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1828 Invocation->getPreprocessorOpts().clearRemappedFiles();
1830 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first,
1839 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS);
1844 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
2127 if (!Invocation)
2134 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation);
2187 "Invocation must have exactly one source file!");