]> granicus.if.org Git - clang/commitdiff
Correct units in comments describing Size and getSize().
authorKen Dyck <kd@kendyck.com>
Wed, 9 Feb 2011 02:06:44 +0000 (02:06 +0000)
committerKen Dyck <kd@kendyck.com>
Wed, 9 Feb 2011 02:06:44 +0000 (02:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125158 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/RecordLayout.h

index 557e790fb709725b249e270c7db18a12dca704b9..a5600217b91badd9fcbc8f12c5d32211df48beb1 100644 (file)
@@ -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.