summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2012-09-27 09:59:43 +0000
committerSylvestre Ledru <sylvestre@debian.org>2012-09-27 09:59:43 +0000
commit7e2c793a2b5c746344652b6579e958ee42fafdcc (patch)
tree1a18d61db4c838b535c569333230d704fccf0a75 /include/llvm/Constants.h
parent466e0f38d344fd1a64b7be2b3c4e3f7003ef4fef (diff)
downloadllvm-7e2c793a2b5c746344652b6579e958ee42fafdcc.tar.gz
llvm-7e2c793a2b5c746344652b6579e958ee42fafdcc.tar.bz2
llvm-7e2c793a2b5c746344652b6579e958ee42fafdcc.tar.xz
Fix a typo 'iff' => 'if'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 85fed4259d..097b0f52ec 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -170,17 +170,17 @@ public:
return Val == 1;
}
- /// This function will return true iff every bit in this constant is set
+ /// This function will return true if every bit in this constant is set
/// to true.
- /// @returns true iff this constant's bits are all set to true.
+ /// @returns true if this constant's bits are all set to true.
/// @brief Determine if the value is all ones.
bool isMinusOne() const {
return Val.isAllOnesValue();
}
- /// This function will return true iff this constant represents the largest
+ /// This function will return true if this constant represents the largest
/// value that may be represented by the constant's type.
- /// @returns true iff this is the largest value that may be represented
+ /// @returns true if this is the largest value that may be represented
/// by this type.
/// @brief Determine if the value is maximal.
bool isMaxValue(bool isSigned) const {
@@ -190,7 +190,7 @@ public:
return Val.isMaxValue();
}
- /// This function will return true iff this constant represents the smallest
+ /// This function will return true if this constant represents the smallest
/// value that may be represented by this constant's type.
/// @returns true if this is the smallest value that may be represented by
/// this type.
@@ -202,10 +202,10 @@ public:
return Val.isMinValue();
}
- /// This function will return true iff this constant represents a value with
+ /// This function will return true if this constant represents a value with
/// active bits bigger than 64 bits or a value greater than the given uint64_t
/// value.
- /// @returns true iff this constant is greater or equal to the given number.
+ /// @returns true if this constant is greater or equal to the given number.
/// @brief Determine if the value is greater or equal to the given number.
bool uge(uint64_t Num) const {
return Val.getActiveBits() > 64 || Val.getZExtValue() >= Num;