Lines Matching refs:Clang
192 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument
194 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
206 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
211 Clang->LoadRequestedPlugins(); in ExecuteCompilerInvocation()
217 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
218 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
222 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation()
230 AnalyzerOptions &AnOpts = *Clang->getAnalyzerOpts(); in ExecuteCompilerInvocation()
235 ento::printCheckerHelp(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
242 ento::printCheckerConfigList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
248 ento::printEnabledCheckerList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
260 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
263 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
266 bool Success = Clang->ExecuteAction(*Act); in ExecuteCompilerInvocation()
267 if (Clang->getFrontendOpts().DisableFree) in ExecuteCompilerInvocation()