Lines Matching refs:Invocation
247 // compiler instance *not* free these buffers for each invocation of the
249 if (Invocation.get() && OwnsRemappedFileBuffers) {
250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1030 /// invocation, replacing the current translation unit.
1038 if (!Invocation) {
1051 CCInvocation(new CompilerInvocation(*Invocation));
1075 "Invocation must have exactly one source file!");
1198 ASTUnit::ComputePreamble(CompilerInvocation &Invocation,
1200 FrontendOptions &FrontendOpts = Invocation.getFrontendOpts();
1201 PreprocessorOptions &PreprocessorOpts = Invocation.getPreprocessorOpts();
1205 // command line (to another file) or directly through the compiler invocation
1260 *Invocation.getLangOpts(),
1529 // Tell the compiler invocation to generate a temporary precompiled header.
1567 "Invocation must have exactly one source file!");
1689 assert(CI.hasInvocation() && "missing invocation");
1706 if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) {
1707 const FrontendInputFile &Input = Invocation->getFrontendOpts().Inputs[0];
1740 AST->Invocation = CI;
1825 "Invocation must have exactly one source file!");
1893 if (!Invocation)
1897 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true;
1898 Invocation->getFrontendOpts().DisableFree = false;
1899 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
1905 = getMainBufferWithPrecompiledPreamble(*Invocation);
1933 AST->Invocation = CI;
2021 AST->Invocation = CI;
2044 if (!Invocation)
2053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
2057 Invocation->getPreprocessorOpts().clearRemappedFiles();
2059 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFiles[I].first,
2067 OverrideMainBuffer = getMainBufferWithPrecompiledPreamble(*Invocation);
2071 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts());
2340 if (!Invocation)
2348 CCInvocation(new CompilerInvocation(*Invocation));
2400 "Invocation must have exactly one source file!");