mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 18:06:49 +00:00
Fix a comment to be accurate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b83eb6447b
commit
a009838674
@ -176,10 +176,10 @@ public:
|
||||
return Val == V;
|
||||
}
|
||||
|
||||
/// Return a ConstantInt with the specified value for the specified type.
|
||||
/// Overloads for ll the integer types are provided to ensure that implicit
|
||||
/// conversions don't bite us and to get around compiler errors where the
|
||||
/// compiler can't find a suitable overload for a given integer value.
|
||||
/// Return a ConstantInt with the specified value for the specified type. The
|
||||
/// value V will be canonicalized to a uint64_t but accessing it with either
|
||||
/// getSExtValue() or getZExtValue() (ConstantIntegral) will yield the correct
|
||||
/// sized/signed value for the type Ty.
|
||||
/// @brief Get a ConstantInt for a specific value.
|
||||
static ConstantInt *get(const Type *Ty, int64_t V);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user