summaryrefslogtreecommitdiffstats
path: root/clang/Driver/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-01-14 16:44:48 +0000
committerTed Kremenek <kremenek@apple.com>2008-01-14 16:44:48 +0000
commita0a3e9bb07f7b29d4a93d35a99689783fdb562ce (patch)
tree80b68604a21e25fb9963f2e9eb4513d5eb72441a /clang/Driver/PrintParserCallbacks.cpp
parent4871fe0b8f94d605067801a44bdc26089efc083d (diff)
downloadbcm5719-llvm-a0a3e9bb07f7b29d4a93d35a99689783fdb562ce.tar.gz
bcm5719-llvm-a0a3e9bb07f7b29d4a93d35a99689783fdb562ce.zip
Change uses of std::cerr/std::cout to llvm::Lcerr/llvm::cout, and remove
#include<iostream>. Patch provided by Sam Bishop. llvm-svn: 45962
Diffstat (limited to 'clang/Driver/PrintParserCallbacks.cpp')
-rw-r--r--clang/Driver/PrintParserCallbacks.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/Driver/PrintParserCallbacks.cpp b/clang/Driver/PrintParserCallbacks.cpp
index d6f4d14136f..9c67f83aa13 100644
--- a/clang/Driver/PrintParserCallbacks.cpp
+++ b/clang/Driver/PrintParserCallbacks.cpp
@@ -15,7 +15,7 @@
#include "clang.h"
#include "clang/Parse/Action.h"
#include "clang/Parse/DeclSpec.h"
-#include <iostream>
+#include "llvm/Support/Streams.h"
using namespace clang;
namespace {
@@ -29,13 +29,13 @@ namespace {
/// "int X = 4" or "typedef int foo".
virtual DeclTy *ActOnDeclarator(Scope *S, Declarator &D,
DeclTy *LastInGroup) {
- std::cout << "ActOnDeclarator ";
+ llvm::cout << "ActOnDeclarator ";
if (IdentifierInfo *II = D.getIdentifier()) {
- std::cout << "'" << II->getName() << "'";
+ llvm::cout << "'" << II->getName() << "'";
} else {
- std::cout << "<anon>";
+ llvm::cout << "<anon>";
}
- std::cout << "\n";
+ llvm::cout << "\n";
// Pass up to EmptyActions so that the symbol table is maintained right.
return MinimalAction::ActOnDeclarator(S, D, LastInGroup);
@@ -44,7 +44,7 @@ namespace {
/// ActOnPopScope - This callback is called immediately before the specified
/// scope is popped and deleted.
virtual void ActOnPopScope(SourceLocation Loc, Scope *S) {
- std::cout << "ActOnPopScope\n";
+ llvm::cout << "ActOnPopScope\n";
// Pass up to EmptyActions so that the symbol table is maintained right.
MinimalAction::ActOnPopScope(Loc, S);
OpenPOWER on IntegriCloud