From dec5b63c200b108851bb6486bb10060bce276414 Mon Sep 17 00:00:00 2001 From: Ken Dyck Date: Wed, 9 Feb 2011 02:06:44 +0000 Subject: [PATCH] Correct units in comments describing Size and getSize(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125158 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/RecordLayout.h | 4 ++-- 1 file 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. -- 2.40.0