aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-25 15:55:28 +0000
committerDan Gohman <gohman@apple.com>2010-02-25 15:55:28 +0000
commita5a23046cbea6d011f84c97ac61743cb8f6a58c6 (patch)
treebf93cfdc2afc798206494705c22d8850bd56effe /include/llvm/Constants.h
parentaeee7b29290ea8902dfd63027beccaa07efb2287 (diff)
downloadexternal_llvm-a5a23046cbea6d011f84c97ac61743cb8f6a58c6.zip
external_llvm-a5a23046cbea6d011f84c97ac61743cb8f6a58c6.tar.gz
external_llvm-a5a23046cbea6d011f84c97ac61743cb8f6a58c6.tar.bz2
Add more information to the getSizeOf comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97140 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index c706329..1cebb20 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -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);