Lines Matching refs:Clang
68 std::unique_ptr<CompilerInstance> Clang(new CompilerInstance()); in cc1_main() local
72 auto PCHOps = Clang->getPCHContainerOperations(); in cc1_main()
93 Clang->getInvocation(), Argv.begin(), Argv.end(), Diags); in cc1_main()
96 if (Clang->getHeaderSearchOpts().UseBuiltinIncludes && in cc1_main()
97 Clang->getHeaderSearchOpts().ResourceDir.empty()) in cc1_main()
98 Clang->getHeaderSearchOpts().ResourceDir = in cc1_main()
102 Clang->createDiagnostics(); in cc1_main()
103 if (!Clang->hasDiagnostics()) in cc1_main()
109 static_cast<void*>(&Clang->getDiagnostics())); in cc1_main()
111 DiagsBuffer->FlushDiagnostics(Clang->getDiagnostics()); in cc1_main()
116 Success = ExecuteCompilerInvocation(Clang.get()); in cc1_main()
128 if (Clang->getFrontendOpts().DisableFree) { in cc1_main()
129 if (llvm::AreStatisticsEnabled() || Clang->getFrontendOpts().ShowStats) in cc1_main()
131 BuryPointer(std::move(Clang)); in cc1_main()