Lines Matching refs:Compiler

157     CompilerInstance Compiler(std::move(PCHContainerOps));  in runInvocation()  local
158 Compiler.setInvocation(std::move(Invocation)); in runInvocation()
161 Compiler.getDiagnosticOpts().ShowCarets = false; in runInvocation()
163 Compiler.getDiagnosticOpts().DiagnosticSerializationFile.clear(); in runInvocation()
165 Compiler.getDiagnosticOpts().Warnings.push_back("no-error"); in runInvocation()
167 Compiler.createDiagnostics(DiagConsumer, /*ShouldOwnClient=*/false); in runInvocation()
168 if (!Compiler.hasDiagnostics()) in runInvocation()
171 Compiler.getPreprocessorOpts().AllowPCHWithDifferentModulesCachePath = true; in runInvocation()
174 Compiler.setFileManager(FileMgr); in runInvocation()
175 Compiler.createSourceManager(*FileMgr); in runInvocation()
181 if (!Compiler.getPreprocessorOpts().ImplicitPCHInclude.empty()) in runInvocation()
183 Compiler.getPreprocessorOpts().ImplicitPCHInclude, Compiler, in runInvocation()
184 Compiler.getHeaderSearchOpts().PrebuiltModuleFiles, in runInvocation()
189 const CompilerInvocation &CI = Compiler.getInvocation(); in runInvocation()
208 CI, Compiler.getDiagnostics(), DepFS)); in runInvocation()
213 Compiler.getPreprocessorOpts() in runInvocation()
225 std::swap(*Opts, Compiler.getInvocation().getDependencyOutputOpts()); in runInvocation()
229 Opts->Targets = {deduceDepTarget(Compiler.getFrontendOpts().OutputFile, in runInvocation()
230 Compiler.getFrontendOpts().Inputs)}; in runInvocation()
235 Compiler.addDependencyCollector( in runInvocation()
240 Compiler.addDependencyCollector(std::make_shared<ModuleDepCollector>( in runInvocation()
241 std::move(Opts), Compiler, Consumer, std::move(OriginalInvocation))); in runInvocation()
250 Compiler.getHeaderSearchOpts().ModulesStrictContextHash = true; in runInvocation()
253 const bool Result = Compiler.ExecuteAction(*Action); in runInvocation()