[cfe-commits] r55750 - /cfe/trunk/Driver/AnalysisConsumer.cpp

Ted Kremenek kremenek at apple.com
Wed Sep 3 17:02:50 PDT 2008


Author: kremenek
Date: Wed Sep  3 19:02:50 2008
New Revision: 55750

URL: http://llvm.org/viewvc/llvm-project?rev=55750&view=rev
Log:
Output "ANALYZE:" diagnostics to STDOUT instead of STDERR.

Modified:
    cfe/trunk/Driver/AnalysisConsumer.cpp

Modified: cfe/trunk/Driver/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/AnalysisConsumer.cpp?rev=55750&r1=55749&r2=55750&view=diff

==============================================================================
--- cfe/trunk/Driver/AnalysisConsumer.cpp (original)
+++ cfe/trunk/Driver/AnalysisConsumer.cpp Wed Sep  3 19:02:50 2008
@@ -197,14 +197,14 @@
       DisplayedFunction = true;
       
       if (FunctionDecl *FD = dyn_cast<FunctionDecl>(getCodeDecl())) {
-        llvm::cerr << "ANALYZE: "
+        llvm::cout << "ANALYZE: "
         << getContext().getSourceManager().getSourceName(FD->getLocation())
         << ' '
         << FD->getIdentifier()->getName()
         << '\n';
       }
       else if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(getCodeDecl())) {
-        llvm::cerr << "ANALYZE (ObjC Method): "
+        llvm::cout << "ANALYZE (ObjC Method): "
         << getContext().getSourceManager().getSourceName(MD->getLocation())
         << " '"
         << MD->getSelector().getName() << "'\n";





More information about the cfe-commits mailing list