• Home
  • Raw
  • Download

Lines Matching refs:Clang

171 bool clang::ExecuteCompilerInvocation(CompilerInstance *Clang) {  in ExecuteCompilerInvocation()  argument
173 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
184 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
191 e = Clang->getFrontendOpts().Plugins.size(); i != e; ++i) { in ExecuteCompilerInvocation()
192 const std::string &Path = Clang->getFrontendOpts().Plugins[i]; in ExecuteCompilerInvocation()
195 Clang->getDiagnostics().Report(diag::err_fe_unable_to_load_plugin) in ExecuteCompilerInvocation()
205 Clang->getFrontendOpts().ProgramAction = clang::frontend::PluginAction; in ExecuteCompilerInvocation()
206 Clang->getFrontendOpts().ActionName = it->getName(); in ExecuteCompilerInvocation()
215 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
216 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
220 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation()
228 if (Clang->getAnalyzerOpts()->ShowCheckerHelp) { in ExecuteCompilerInvocation()
229 ento::printCheckerHelp(llvm::outs(), Clang->getFrontendOpts().Plugins); in ExecuteCompilerInvocation()
235 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
238 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
241 bool Success = Clang->ExecuteAction(*Act); in ExecuteCompilerInvocation()
242 if (Clang->getFrontendOpts().DisableFree) in ExecuteCompilerInvocation()