Output "ANALYZE:" diagnostics to STDOUT instead of STDERR.

llvm-svn: 55750
This commit is contained in:
Ted Kremenek 2008-09-04 00:02:50 +00:00
parent 370de84b50
commit 5047f71f3e
1 changed files with 2 additions and 2 deletions

View File

@ -197,14 +197,14 @@ namespace {
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";