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

Ted Kremenek kremenek at apple.com
Thu Nov 20 08:15:01 PST 2008


Author: kremenek
Date: Thu Nov 20 10:14:48 2008
New Revision: 59730

URL: http://llvm.org/viewvc/llvm-project?rev=59730&view=rev
Log:
Output 'ANALYZE' messages to standard error.  This should address the intermixing of 'ANALYZE' and the other diagnostics the clang driver emits to standard error.

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=59730&r1=59729&r2=59730&view=diff

==============================================================================
--- cfe/trunk/Driver/AnalysisConsumer.cpp (original)
+++ cfe/trunk/Driver/AnalysisConsumer.cpp Thu Nov 20 10:14:48 2008
@@ -236,14 +236,14 @@
       DisplayedFunction = true;
       
       if (FunctionDecl *FD = dyn_cast<FunctionDecl>(getCodeDecl())) {
-        llvm::cout << "ANALYZE: "
+        llvm::cerr << "ANALYZE: "
         << getContext().getSourceManager().getSourceName(FD->getLocation())
         << ' '
         << FD->getIdentifier()->getName()
         << '\n';
       }
       else if (ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(getCodeDecl())) {
-        llvm::cout << "ANALYZE (ObjC Method): "
+        llvm::cerr << "ANALYZE (ObjC Method): "
         << getContext().getSourceManager().getSourceName(MD->getLocation())
         << " '"
         << MD->getSelector().getName() << "'\n";





More information about the cfe-commits mailing list