Lines Matching refs:Clang
198 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { in ExecuteCompilerInvocation() argument
200 if (Clang->getFrontendOpts().ShowHelp) { in ExecuteCompilerInvocation()
212 if (Clang->getFrontendOpts().ShowVersion) { in ExecuteCompilerInvocation()
217 Clang->LoadRequestedPlugins(); in ExecuteCompilerInvocation()
223 if (!Clang->getFrontendOpts().LLVMArgs.empty()) { in ExecuteCompilerInvocation()
224 unsigned NumArgs = Clang->getFrontendOpts().LLVMArgs.size(); in ExecuteCompilerInvocation()
228 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); in ExecuteCompilerInvocation()
236 AnalyzerOptions &AnOpts = Clang->getAnalyzerOpts(); in ExecuteCompilerInvocation()
241 ento::printCheckerHelp(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
248 ento::printCheckerConfigList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
254 ento::printEnabledCheckerList(llvm::outs(), *Clang); in ExecuteCompilerInvocation()
266 if (Clang->getDiagnostics().hasErrorOccurred()) in ExecuteCompilerInvocation()
269 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
272 bool Success = Clang->ExecuteAction(*Act); in ExecuteCompilerInvocation()
273 if (Clang->getFrontendOpts().DisableFree) in ExecuteCompilerInvocation()