summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-05-23 08:04:21 +0000
committerBill Wendling <isanbard@gmail.com>2007-05-23 08:04:21 +0000
commit48fbdd03023b5fd39516cd3a61d4f70076cfcbe7 (patch)
tree5357187477b59f9551a1703c244a27e1384141e0
parentf06487034ee440433776058cb29b6389ed241442 (diff)
downloadbcm5719-llvm-48fbdd03023b5fd39516cd3a61d4f70076cfcbe7.tar.gz
bcm5719-llvm-48fbdd03023b5fd39516cd3a61d4f70076cfcbe7.zip
Bug #:
Submitted by: Bill Wendling Reviewed by: Chris Lattner - Changed "std::cerr" to "OS" stream to be consistent with the other outputs in the method. llvm-svn: 39483
-rw-r--r--clang/AST/StmtPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/AST/StmtPrinter.cpp b/clang/AST/StmtPrinter.cpp
index d43d6664e8b..5e248f1bc4f 100644
--- a/clang/AST/StmtPrinter.cpp
+++ b/clang/AST/StmtPrinter.cpp
@@ -364,7 +364,7 @@ void StmtPrinter::VisitConditionalOperator(ConditionalOperator *Node) {
PrintExpr(Node->getCond());
OS << " ? ";
PrintExpr(Node->getLHS());
- std::cerr << " : ";
+ OS << " : ";
PrintExpr(Node->getRHS());
}
OpenPOWER on IntegriCloud