summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/VTableBuilder.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-11-08 21:28:00 +0000
committerReid Kleckner <reid@kleckner.net>2013-11-08 21:28:00 +0000
commit5bc6d0fbe4fe03fe1a9f7bc2aead08c233e9e885 (patch)
tree7a87dd7e7878eda5685ceba68eadfda7836991a2 /clang/lib/AST/VTableBuilder.cpp
parentb8ab9f52ca7b5995e4926ab49c2f7559eb5bf401 (diff)
downloadbcm5719-llvm-5bc6d0fbe4fe03fe1a9f7bc2aead08c233e9e885.tar.gz
bcm5719-llvm-5bc6d0fbe4fe03fe1a9f7bc2aead08c233e9e885.zip
Make -fdump-vtable-layouts print to stdout, not stderr
This makes it consistent with -fdump-record-layouts, which was moved to outs() in r186219. My reasoning for going with stdout is that when one of these options is present, the layouts are really a program output, and shouldn't be interleaved with diagnostics, which are on stderr. Reviewers: timurrrr Differential Revision: http://llvm-reviews.chandlerc.com/D2127 llvm-svn: 194279
Diffstat (limited to 'clang/lib/AST/VTableBuilder.cpp')
-rw-r--r--clang/lib/AST/VTableBuilder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/VTableBuilder.cpp b/clang/lib/AST/VTableBuilder.cpp
index fd768d81260..5f7ae0f3ff4 100644
--- a/clang/lib/AST/VTableBuilder.cpp
+++ b/clang/lib/AST/VTableBuilder.cpp
@@ -997,7 +997,7 @@ public:
LayoutVTable();
if (Context.getLangOpts().DumpVTableLayouts)
- dumpLayout(llvm::errs());
+ dumpLayout(llvm::outs());
}
uint64_t getNumThunks() const {
@@ -2596,7 +2596,7 @@ public:
LayoutVFTable();
if (Context.getLangOpts().DumpVTableLayouts)
- dumpLayout(llvm::errs());
+ dumpLayout(llvm::outs());
}
uint64_t getNumThunks() const { return Thunks.size(); }
@@ -3292,7 +3292,7 @@ void MicrosoftVTableContext::computeVTableRelatedInformation(
MethodVFTableLocations.insert(NewMethodLocations.begin(),
NewMethodLocations.end());
if (Context.getLangOpts().DumpVTableLayouts)
- dumpMethodLocations(RD, NewMethodLocations, llvm::errs());
+ dumpMethodLocations(RD, NewMethodLocations, llvm::outs());
}
void MicrosoftVTableContext::dumpMethodLocations(
OpenPOWER on IntegriCloud