diff options
author | Ken Dyck <kd@kendyck.com> | 2011-02-09 01:59:34 +0000 |
---|---|---|
committer | Ken Dyck <kd@kendyck.com> | 2011-02-09 01:59:34 +0000 |
commit | 5f022d82696c84e4d127c558871d68ac6273274e (patch) | |
tree | 1116084da52ffdcc50f243868be92d98053494c1 /lib/AST/RecordLayout.cpp | |
parent | d767d81290288c030f3be0be1d3e62b9c8df51dc (diff) |
Convert RecordLayout::Size to CharUnits from bits. No changes to
functionality intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/RecordLayout.cpp')
-rw-r--r-- | lib/AST/RecordLayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/RecordLayout.cpp b/lib/AST/RecordLayout.cpp index 32e3821ca2..2acf97523c 100644 --- a/lib/AST/RecordLayout.cpp +++ b/lib/AST/RecordLayout.cpp @@ -27,7 +27,7 @@ void ASTRecordLayout::Destroy(ASTContext &Ctx) { Ctx.Deallocate(this); } -ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, uint64_t size, +ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, CharUnits size, unsigned alignment, unsigned datasize, const uint64_t *fieldoffsets, unsigned fieldcount) @@ -41,7 +41,7 @@ ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, uint64_t size, // Constructor for C++ records. ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, - uint64_t size, unsigned alignment, + CharUnits size, unsigned alignment, uint64_t datasize, const uint64_t *fieldoffsets, unsigned fieldcount, |