Lines Matching refs:Clang
164 bool clang::ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument
166 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
177 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
184 e = Clang->getFrontendOpts().Plugins.size(); i != e; ++i) { in ExecuteCompilerInvocation()
185 const std::string &Path = Clang->getFrontendOpts().Plugins[i]; in ExecuteCompilerInvocation()
188 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
196 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
197 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
201 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation()
209 if (Clang->getAnalyzerOpts()->ShowCheckerHelp) { in ExecuteCompilerInvocation()
210 ento::printCheckerHelp(llvm::outs(), Clang->getFrontendOpts().Plugins); in ExecuteCompilerInvocation()
216 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
219 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
222 bool Success = Clang->ExecuteAction(*Act); in ExecuteCompilerInvocation()
223 if (Clang->getFrontendOpts().DisableFree) in ExecuteCompilerInvocation()