[cfe-commits] r77560 - in /cfe/trunk: include/clang/AST/RecordLayout.h lib/AST/RecordLayoutBuilder.h

Mike Stump mrs at apple.com
Wed Jul 29 18:02:11 PDT 2009


Author: mrs
Date: Wed Jul 29 20:02:10 2009
New Revision: 77560

URL: http://llvm.org/viewvc/llvm-project?rev=77560&view=rev
Log:
Fix type to be consistent with the rest of the code.

Modified:
    cfe/trunk/include/clang/AST/RecordLayout.h
    cfe/trunk/lib/AST/RecordLayoutBuilder.h

Modified: cfe/trunk/include/clang/AST/RecordLayout.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecordLayout.h?rev=77560&r1=77559&r2=77560&view=diff

==============================================================================
--- cfe/trunk/include/clang/AST/RecordLayout.h (original)
+++ cfe/trunk/include/clang/AST/RecordLayout.h Wed Jul 29 20:02:10 2009
@@ -80,7 +80,7 @@
   }
   
   // Constructor for C++ records.
-  ASTRecordLayout(uint64_t size, unsigned alignment, unsigned datasize,
+  ASTRecordLayout(uint64_t size, unsigned alignment, uint64_t datasize,
                   const uint64_t *fieldoffsets, unsigned fieldcount,
                   uint64_t nonvirtualsize, unsigned nonvirtualalign,
                   const CXXRecordDecl **bases, const uint64_t *baseoffsets,

Modified: cfe/trunk/lib/AST/RecordLayoutBuilder.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RecordLayoutBuilder.h?rev=77560&r1=77559&r2=77560&view=diff

==============================================================================
--- cfe/trunk/lib/AST/RecordLayoutBuilder.h (original)
+++ cfe/trunk/lib/AST/RecordLayoutBuilder.h Wed Jul 29 20:02:10 2009
@@ -30,7 +30,7 @@
   llvm::SmallVector<uint64_t, 16> FieldOffsets;
   
   unsigned StructPacking;
-  unsigned NextOffset;
+  uint64_t NextOffset;
   bool IsUnion;
   
   uint64_t NonVirtualSize;





More information about the cfe-commits mailing list