summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/RecordLayout.cpp
diff options
context:
space:
mode:
authorKen Dyck <kd@kendyck.com>2011-02-01 01:52:10 +0000
committerKen Dyck <kd@kendyck.com>2011-02-01 01:52:10 +0000
commit316d6f69bca1e00e7374fea1bd8e624cbb9a7924 (patch)
tree8d5d27ad5a1aba02514ec8311773b4585c889fa3 /clang/lib/AST/RecordLayout.cpp
parentdfc85ed01e4006d58e23cea1380a7e966ada00d8 (diff)
downloadbcm5719-llvm-316d6f69bca1e00e7374fea1bd8e624cbb9a7924.tar.gz
bcm5719-llvm-316d6f69bca1e00e7374fea1bd8e624cbb9a7924.zip
Convert RecordLayout::NonVirtualSize from bit units to CharUnits.
llvm-svn: 124646
Diffstat (limited to 'clang/lib/AST/RecordLayout.cpp')
-rw-r--r--clang/lib/AST/RecordLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/RecordLayout.cpp b/clang/lib/AST/RecordLayout.cpp
index e027c1ab8d4..cdecff66f8f 100644
--- a/clang/lib/AST/RecordLayout.cpp
+++ b/clang/lib/AST/RecordLayout.cpp
@@ -45,7 +45,7 @@ ASTRecordLayout::ASTRecordLayout(const ASTContext &Ctx,
uint64_t datasize,
const uint64_t *fieldoffsets,
unsigned fieldcount,
- uint64_t nonvirtualsize,
+ CharUnits nonvirtualsize,
unsigned nonvirtualalign,
CharUnits SizeOfLargestEmptySubobject,
const CXXRecordDecl *PrimaryBase,
OpenPOWER on IntegriCloud