From 7f95cd1817bad5dd85fc228cd9aae0b29dfd8048 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 24 Nov 2010 23:12:57 +0000 Subject: Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual. llvm-svn: 120133 --- clang/lib/AST/RecordLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/AST/RecordLayout.cpp') 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 -- cgit v1.2.3