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 | c8ae55050dcf5becdb8a80b065ecabdd6ae59744 (patch) | |
tree | 3d5fbba9084d1cd9f495b922bad5b00f86daaadf /clang/lib/AST/RecordLayout.cpp | |
parent | a40f8ebc83735aa7f930d0772817725e958bfbd6 (diff) | |
download | bcm5719-llvm-c8ae55050dcf5becdb8a80b065ecabdd6ae59744.tar.gz bcm5719-llvm-c8ae55050dcf5becdb8a80b065ecabdd6ae59744.zip |
Convert RecordLayout::Size to CharUnits from bits. No changes to
functionality intended.
llvm-svn: 125156
Diffstat (limited to 'clang/lib/AST/RecordLayout.cpp')
-rw-r--r-- | clang/lib/AST/RecordLayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/RecordLayout.cpp b/clang/lib/AST/RecordLayout.cpp index 32e3821ca24..2acf97523c1 100644 --- a/clang/lib/AST/RecordLayout.cpp +++ b/clang/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, |