]> granicus.if.org Git - clang/commitdiff
Output 'ANALYZE' messages to standard error. This should address the intermixing...
authorTed Kremenek <kremenek@apple.com>
Thu, 20 Nov 2008 16:14:48 +0000 (16:14 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 20 Nov 2008 16:14:48 +0000 (16:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59730 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/AnalysisConsumer.cpp

index 10e69686adc39f07eba81df0858b014269b81432..503ad383459c5996f0995c5f9f270560465917c2 100644 (file)
@@ -236,14 +236,14 @@ case PD_##NAME: C.PD.reset(CREATEFN(C.HTMLDir, C.PP, C.PPF)); break;
       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";