projects
/
llvm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b53c2b0
)
[APFloat] Remove the redundent function body of uninitialized ctor, which should...
author
Tim Shen
<timshen91@gmail.com>
Sat, 29 Oct 2016 00:51:41 +0000
(
00:51
+0000)
committer
Tim Shen
<timshen91@gmail.com>
Sat, 29 Oct 2016 00:51:41 +0000
(
00:51
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285486
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 20e7841129de2b2fa3d2fa017ca23118a7043aba..3a33d7426830323fbbe37f513f0c5badb8607ac9 100644
(file)
--- a/
lib/Support/APFloat.cpp
+++ b/
lib/Support/APFloat.cpp
@@
-821,10
+821,7
@@
IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics) {
// Delegate to the previous constructor, because later copy constructor may
// actually inspects category, which can't be garbage.
IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics, uninitializedTag tag)
- : IEEEFloat(ourSemantics) {
- // Allocates storage if necessary but does not initialize it.
- initialize(&ourSemantics);
-}
+ : IEEEFloat(ourSemantics) {}
IEEEFloat::IEEEFloat(const IEEEFloat &rhs) {
initialize(rhs.semantics);