[cfe-commits] r125158 - /cfe/trunk/include/clang/AST/RecordLayout.h
Ken Dyck
kd at kendyck.com
Tue Feb 8 18:06:44 PST 2011
Author: kjdyck
Date: Tue Feb 8 20:06:44 2011
New Revision: 125158
URL: http://llvm.org/viewvc/llvm-project?rev=125158&view=rev
Log:
Correct units in comments describing Size and getSize().
Modified:
cfe/trunk/include/clang/AST/RecordLayout.h
Modified: cfe/trunk/include/clang/AST/RecordLayout.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/RecordLayout.h?rev=125158&r1=125157&r2=125158&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/RecordLayout.h (original)
+++ cfe/trunk/include/clang/AST/RecordLayout.h Tue Feb 8 20:06:44 2011
@@ -33,7 +33,7 @@
/// 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 @@
/// 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.
More information about the cfe-commits
mailing list