[cfe-commits] r104682 - /cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
Anders Carlsson
andersca at mac.com
Tue May 25 22:25:15 PDT 2010
Author: andersca
Date: Wed May 26 00:25:15 2010
New Revision: 104682
URL: http://llvm.org/viewvc/llvm-project?rev=104682&view=rev
Log:
Fix build.
Modified:
cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
Modified: cfe/trunk/lib/AST/RecordLayoutBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RecordLayoutBuilder.cpp?rev=104682&r1=104681&r2=104682&view=diff
==============================================================================
--- cfe/trunk/lib/AST/RecordLayoutBuilder.cpp (original)
+++ cfe/trunk/lib/AST/RecordLayoutBuilder.cpp Wed May 26 00:25:15 2010
@@ -24,8 +24,8 @@
ASTRecordLayoutBuilder::ASTRecordLayoutBuilder(ASTContext &Context)
: Context(Context), Size(0), Alignment(8), Packed(false),
UnfilledBitsInLastByte(0), MaxFieldAlignment(0), DataSize(0), IsUnion(false),
- PrimaryBase(0), PrimaryBaseIsVirtual(false), NonVirtualSize(0),
- NonVirtualAlignment(8), FirstNearlyEmptyVBase(0),
+ NonVirtualSize(0), NonVirtualAlignment(8), PrimaryBase(0),
+ PrimaryBaseIsVirtual(false), FirstNearlyEmptyVBase(0),
SizeOfLargestEmptySubobject(0) { }
/// IsNearlyEmpty - Indicates when a class has a vtable pointer, but
@@ -911,6 +911,7 @@
Builder.NonVirtualAlignment,
Builder.SizeOfLargestEmptySubobject,
Builder.PrimaryBase,
+ Builder.PrimaryBaseIsVirtual,
Builder.Bases, Builder.VBases);
}
@@ -994,6 +995,7 @@
Builder.NonVirtualAlignment,
Builder.SizeOfLargestEmptySubobject,
Builder.PrimaryBase,
+ Builder.PrimaryBaseIsVirtual,
Builder.Bases, Builder.VBases);
} else {
ASTRecordLayoutBuilder Builder(*this);
More information about the cfe-commits
mailing list