diff options
Diffstat (limited to 'lib/Expr/Lexer.cpp')
-rw-r--r-- | lib/Expr/Lexer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Expr/Lexer.cpp b/lib/Expr/Lexer.cpp index d8809a53..84e2c185 100644 --- a/lib/Expr/Lexer.cpp +++ b/lib/Expr/Lexer.cpp @@ -10,7 +10,7 @@ #include "expr/Lexer.h" #include "llvm/Support/MemoryBuffer.h" -#include "llvm/Support/Streams.h" +#include "llvm/Support/raw_ostream.h" #include <iomanip> #include <iostream> @@ -53,9 +53,9 @@ const char *Token::getKindName() const { } void Token::dump() { - llvm::cerr << "(Token \"" << getKindName() << "\" " - << (void*) start << " " << length << " " - << line << " " << column << ")"; + llvm::errs() << "(Token \"" << getKindName() << "\" " + << (void*) start << " " << length << " " + << line << " " << column << ")"; } /// |