diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-03 09:14:02 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-03 09:14:02 +0000 |
commit | e7cb7e4570842297f698bd7fd8d85520fc008acd (patch) | |
tree | c4f56fb79fa882350cd7a5f9339ecd119c98eb67 /lib/AST/TypePrinter.cpp | |
parent | 28df7a5813d94ff32904c31195d7f6fd74db8c53 (diff) |
Kill a few more random stderr uses.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/TypePrinter.cpp')
-rw-r--r-- | lib/AST/TypePrinter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index 562e830b36..8393253011 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -683,9 +683,8 @@ void QualType::dump(const char *msg) const { LangOptions LO; getAsStringInternal(R, PrintingPolicy(LO)); if (msg) - fprintf(stderr, "%s: %s\n", msg, R.c_str()); - else - fprintf(stderr, "%s\n", R.c_str()); + llvm::errs() << msg << ": "; + llvm::errs() << R << "\n"; } void QualType::dump() const { dump(""); |