aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-06-19 21:23:18 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-06-19 21:23:18 +0000
commit07969dc8aed62fcd5c5760b2ec331275479f4a80 (patch)
treedd98fa7223a4b857544308302963ec7b1d0b90c5 /include/llvm/ADT
parent63e8ba9bcf1d83422f56ae2454dbd7190c1e2a41 (diff)
downloadexternal_llvm-07969dc8aed62fcd5c5760b2ec331275479f4a80.zip
external_llvm-07969dc8aed62fcd5c5760b2ec331275479f4a80.tar.gz
external_llvm-07969dc8aed62fcd5c5760b2ec331275479f4a80.tar.bz2
[APFloat] Converted all references to APFloat::isNormal => APFloat::isFiniteNonZero.
Turns out all the references were in llvm and not in clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/APFloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h
index d104343..8df2ce0 100644
--- a/include/llvm/ADT/APFloat.h
+++ b/include/llvm/ADT/APFloat.h
@@ -362,7 +362,7 @@ public:
///
/// The current implementation of isNormal() differs from this by treating
/// subnormal values as normal values.
- bool isIEEENormal() const { return !isDenormal() && isNormal(); }
+ bool isIEEENormal() const { return !isDenormal() && isFiniteNonZero(); }
/// Returns true if and only if the current value is zero, subnormal, or
/// normal.