Lines Matching refs:Clang
206 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument
208 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
220 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
225 Clang->LoadRequestedPlugins(); in ExecuteCompilerInvocation()
231 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
232 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
236 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation()
244 AnalyzerOptions &AnOpts = Clang->getAnalyzerOpts(); in ExecuteCompilerInvocation()
249 ento::printCheckerHelp(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
256 ento::printCheckerConfigList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
262 ento::printEnabledCheckerList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
274 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
277 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
280 bool Success = Clang->ExecuteAction(*Act); in ExecuteCompilerInvocation()
281 if (Clang->getFrontendOpts().DisableFree) in ExecuteCompilerInvocation()