diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Constants.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h index 502974dc779..63e35385e35 100644 --- a/llvm/include/llvm/Constants.h +++ b/llvm/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); |

