diff options
author | Ken Dyck <kd@kendyck.com> | 2011-02-15 02:32:40 +0000 |
---|---|---|
committer | Ken Dyck <kd@kendyck.com> | 2011-02-15 02:32:40 +0000 |
commit | dac54c124e302d6f028ea5723c425b7f66fc7c71 (patch) | |
tree | 1d5363a22271d0015611baa0a3f7da0c5daec589 /lib/AST/RecordLayout.cpp | |
parent | b53189160c53b1d49d10c1b6fc439549a06ce618 (diff) |
Convert RecordLayout::Alignment to CharUnits from bit units. No change in
functionality intended.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125549 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 a6e31a7e08..035c48fd08 100644 --- a/lib/AST/RecordLayout.cpp +++ b/lib/AST/RecordLayout.cpp @@ -28,7 +28,7 @@ void ASTRecordLayout::Destroy(ASTContext &Ctx) { } ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, CharUnits size, - unsigned alignment, CharUnits datasize, + CharUnits alignment, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount) : Size(size), DataSize(datasize), FieldOffsets(0), Alignment(alignment), @@ -41,7 +41,7 @@ ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, CharUnits size, // Constructor for C++ records. ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx, - CharUnits size, unsigned alignment, + CharUnits size, CharUnits alignment, CharUnits datasize, const uint64_t *fieldoffsets, unsigned fieldcount, |