aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-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 502974d..63e3538 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -557,8 +557,9 @@ public:
return getSelectTy(V1->getType(), C, V1, V2);
}
- /// getSizeOf constant expr - computes the size of a type in a
- /// target independent way
+ /// getSizeOf constant expr - computes the size of a type in a target
+ /// independent way (Note: the return type UInt but the object is is not
+ /// necessarily a ConstantUInt).
///
static Constant *getSizeOf(const Type *Ty);