summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2014-03-20 13:42:14 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2014-03-20 13:42:14 +0000
commit4fea4f917d94e8d00274a7b5907243592d68ae88 (patch)
treef68e459f6db927be133b7d87972e3079b0dccd68 /clang/lib
parent454abc0093a52bb2a772be8aa21f6d43d0225d33 (diff)
downloadbcm5719-llvm-4fea4f917d94e8d00274a7b5907243592d68ae88.tar.gz
bcm5719-llvm-4fea4f917d94e8d00274a7b5907243592d68ae88.zip
Flust stdout after each vftable dumped to simplify debugging
llvm-svn: 204341
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/AST/VTableBuilder.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/AST/VTableBuilder.cpp b/clang/lib/AST/VTableBuilder.cpp
index 4ddb3c8c950..01372341177 100644
--- a/clang/lib/AST/VTableBuilder.cpp
+++ b/clang/lib/AST/VTableBuilder.cpp
@@ -3103,6 +3103,8 @@ void VFTableBuilder::dumpLayout(raw_ostream &Out) {
Out << '\n';
}
}
+
+ Out.flush();
}
static bool setsIntersect(const llvm::SmallPtrSet<const CXXRecordDecl *, 4> &A,
@@ -3359,6 +3361,8 @@ void MicrosoftVTableContext::dumpMethodLocations(
}
Out << '\n';
}
+
+ Out.flush();
}
const VirtualBaseInfo *MicrosoftVTableContext::computeVBTableRelatedInformation(
OpenPOWER on IntegriCloud