aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/clang/AST/RecordLayout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/AST/RecordLayout.h b/include/clang/AST/RecordLayout.h
index 557e790fb7..a5600217b9 100644
--- a/include/clang/AST/RecordLayout.h
+++ b/include/clang/AST/RecordLayout.h
@@ -33,7 +33,7 @@ namespace clang {
/// ObjCInterfaceDecl. FIXME - Find appropriate name.
/// These objects are managed by ASTContext.
class ASTRecordLayout {
- /// Size - Size of record in bits.
+ /// Size - Size of record in characters.
CharUnits Size;
/// DataSize - Size of record in bits without tail padding.
@@ -109,7 +109,7 @@ public:
/// getAlignment - Get the record alignment in bits.
unsigned getAlignment() const { return Alignment; }
- /// getSize - Get the record size in bits.
+ /// getSize - Get the record size in characters.
CharUnits getSize() const { return Size; }
/// getFieldCount - Get the number of fields in the layout.