From: Ken Dyck Date: Wed, 9 Feb 2011 02:06:44 +0000 (+0000) Subject: Correct units in comments describing Size and getSize(). X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dec5b63c200b108851bb6486bb10060bce276414;p=clang 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 --- 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.