Lines Matching refs:Invocation
159 getBufferForFileHandlingRemapping(const CompilerInvocation &Invocation, in getBufferForFileHandlingRemapping() argument
162 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
263 if (Invocation && OwnsRemappedFileBuffers) { in ~ASTUnit()
264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1126 if (!Invocation) in Parse()
1133 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation); in Parse()
1481 if (Invocation && !Invocation->getFrontendOpts().Inputs.empty()) { in getMainFileName()
1482 const FrontendInputFile &Input = Invocation->getFrontendOpts().Inputs[0]; in getMainFileName()
1518 AST->Invocation = std::move(CI); in create()
1669 if (!Invocation) in LoadFromCompilerInvocation()
1675 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1676 Invocation->getFrontendOpts().DisableFree = false; in LoadFromCompilerInvocation()
1678 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts()); in LoadFromCompilerInvocation()
1684 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in LoadFromCompilerInvocation()
1686 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts()); in LoadFromCompilerInvocation()
1717 AST->Invocation = std::move(CI); in LoadFromCompilerInvocation()
1808 AST->Invocation = CI; in LoadFromCommandLine()
1838 if (!Invocation) in Reparse()
1852 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1856 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1858 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
1867 getMainBufferWithPrecompiledPreamble(PCHContainerOps, *Invocation, VFS); in Reparse()
1872 ProcessWarningOptions(getDiagnostics(), Invocation->getDiagnosticOpts()); in Reparse()
2157 if (!Invocation) in CodeComplete()
2164 auto CCInvocation = std::make_shared<CompilerInvocation>(*Invocation); in CodeComplete()