summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/RecordLayout.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-11-24 23:12:57 +0000
committerAnders Carlsson <andersca@mac.com>2010-11-24 23:12:57 +0000
commit7f95cd1817bad5dd85fc228cd9aae0b29dfd8048 (patch)
treec027e3ca515dd187477f092114277309289cc0d1 /clang/lib/AST/RecordLayout.cpp
parentcadbc463e2607bf00b9dcd7371cd129eb92a7ac7 (diff)
downloadbcm5719-llvm-7f95cd1817bad5dd85fc228cd9aae0b29dfd8048.tar.gz
bcm5719-llvm-7f95cd1817bad5dd85fc228cd9aae0b29dfd8048.zip
Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual.
llvm-svn: 120133
Diffstat (limited to 'clang/lib/AST/RecordLayout.cpp')
-rw-r--r--clang/lib/AST/RecordLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/RecordLayout.cpp b/clang/lib/AST/RecordLayout.cpp
index eb83c489c92..a296a2409a4 100644
--- a/clang/lib/AST/RecordLayout.cpp
+++ b/clang/lib/AST/RecordLayout.cpp
@@ -68,7 +68,7 @@ ASTRecordLayout::ASTRecordLayout(ASTContext &Ctx,
#ifndef NDEBUG
if (const CXXRecordDecl *PrimaryBase = getPrimaryBase()) {
- if (getPrimaryBaseWasVirtual())
+ if (isPrimaryBaseVirtual())
assert(getVBaseClassOffset(PrimaryBase).isZero() &&
"Primary virtual base must be at offset 0!");
else
OpenPOWER on IntegriCloud