From f66eab0bc2a181dee341437ad53cddd5a633586e Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 30 Jul 2009 01:02:10 +0000 Subject: [PATCH] Fix type to be consistent with the rest of the code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77560 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/RecordLayout.h | 2 +- lib/AST/RecordLayoutBuilder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/clang/AST/RecordLayout.h b/include/clang/AST/RecordLayout.h index 4abe810f40..c657ddb869 100644 --- a/include/clang/AST/RecordLayout.h +++ b/include/clang/AST/RecordLayout.h @@ -80,7 +80,7 @@ class ASTRecordLayout { } // 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, diff --git a/lib/AST/RecordLayoutBuilder.h b/lib/AST/RecordLayoutBuilder.h index 41c002d61d..e21536077a 100644 --- a/lib/AST/RecordLayoutBuilder.h +++ b/lib/AST/RecordLayoutBuilder.h @@ -30,7 +30,7 @@ class ASTRecordLayoutBuilder { llvm::SmallVector FieldOffsets; unsigned StructPacking; - unsigned NextOffset; + uint64_t NextOffset; bool IsUnion; uint64_t NonVirtualSize; -- 2.40.0