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 | 7ad11e70b65dabb7fbba8051a44d7cb612339a4a (patch) | |
tree | b0b4931331987749a8152f0d538be2d6d170545f /clang/lib/AST/RecordLayout.cpp | |
parent | 4ea9004fe8a555849f12f67600f4d5d09016d1db (diff) |
Convert RecordLayout::Alignment to CharUnits from bit units. No change in
functionality intended.
llvm-svn: 125549
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 a6e31a7e088e..035c48fd0827 100644 --- a/clang/lib/AST/RecordLayout.cpp +++ b/clang/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, |