From: Ted Kremenek Date: Thu, 4 Sep 2008 00:02:50 +0000 (+0000) Subject: Output "ANALYZE:" diagnostics to STDOUT instead of STDERR. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=628a42e04d86605bc703b5da9472d7f6056ea131;p=clang Output "ANALYZE:" diagnostics to STDOUT instead of STDERR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55750 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/AnalysisConsumer.cpp b/Driver/AnalysisConsumer.cpp index 39b76e2885..e22178b73e 100644 --- a/Driver/AnalysisConsumer.cpp +++ b/Driver/AnalysisConsumer.cpp @@ -197,14 +197,14 @@ namespace { DisplayedFunction = true; if (FunctionDecl *FD = dyn_cast(getCodeDecl())) { - llvm::cerr << "ANALYZE: " + llvm::cout << "ANALYZE: " << getContext().getSourceManager().getSourceName(FD->getLocation()) << ' ' << FD->getIdentifier()->getName() << '\n'; } else if (ObjCMethodDecl *MD = dyn_cast(getCodeDecl())) { - llvm::cerr << "ANALYZE (ObjC Method): " + llvm::cout << "ANALYZE (ObjC Method): " << getContext().getSourceManager().getSourceName(MD->getLocation()) << " '" << MD->getSelector().getName() << "'\n";