summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-20 16:14:48 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-20 16:14:48 +0000
commitb6df273d2ce2520604fe003b0a5ad6dba7202c11 (patch)
tree7e6f89b05780ca895981479f1226ed69757e21b1
parentf49fdf8337440aa465c551a31d1b0e157cad5a9b (diff)
downloadbcm5719-llvm-b6df273d2ce2520604fe003b0a5ad6dba7202c11.tar.gz
bcm5719-llvm-b6df273d2ce2520604fe003b0a5ad6dba7202c11.zip
Output 'ANALYZE' messages to standard error. This should address the intermixing of 'ANALYZE' and the other diagnostics the clang driver emits to standard error.
llvm-svn: 59730
-rw-r--r--clang/Driver/AnalysisConsumer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/Driver/AnalysisConsumer.cpp b/clang/Driver/AnalysisConsumer.cpp
index 10e69686adc..503ad383459 100644
--- a/clang/Driver/AnalysisConsumer.cpp
+++ b/clang/Driver/AnalysisConsumer.cpp
@@ -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";
OpenPOWER on IntegriCloud