Add more information to the getSizeOf comment.
authorDan Gohman <gohman@apple.com>
Thu, 25 Feb 2010 15:55:28 +0000 (15:55 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 25 Feb 2010 15:55:28 +0000 (15:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97140 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Constants.h

index c706329fb28bb734b2f60bdb30dbdfaebc25fbaf..1cebb201518110833d487f9d22781f210bc67777 100644 (file)
@@ -698,8 +698,9 @@ public:
   /// independent way (Note: the return type is an i64).
   static Constant *getAlignOf(const Type* Ty);
   
-  /// getSizeOf constant expr - computes the size of a type in a target
-  /// independent way (Note: the return type is an i64).
+  /// getSizeOf constant expr - computes the (alloc) size of a type (in
+  /// address-units, not bits) in a target independent way (Note: the return
+  /// type is an i64).
   ///
   static Constant *getSizeOf(const Type* Ty);