projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1bcd75
)
Silencing some MSVC warnings "C4805: '^' : unsafe mix of type 'bool' and type 'unsign...
author
Aaron Ballman
<aaron@aaronballman.com>
Tue, 24 Mar 2015 12:47:51 +0000
(12:47 +0000)
committer
Aaron Ballman
<aaron@aaronballman.com>
Tue, 24 Mar 2015 12:47:51 +0000
(12:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233067
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/APFloat.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/APFloat.cpp
b/lib/Support/APFloat.cpp
index f3f01987f8e8cdb82c35c2027b099d84bf961082..5a402bb280453da5172ae6a58bc5f39d2d0f8175 100644
(file)
--- a/
lib/Support/APFloat.cpp
+++ b/
lib/Support/APFloat.cpp
@@
-1430,7
+1430,7
@@
APFloat::addOrSubtractSignificand(const APFloat &rhs, bool subtract)
/* Determine if the operation on the absolute values is effectively
an addition or subtraction. */
- subtract ^= s
ign ^ rhs.sign
;
+ subtract ^= s
tatic_cast<bool>(sign ^ rhs.sign)
;
/* Are we bigger exponent-wise than the RHS? */
bits = exponent - rhs.exponent;