aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APFloat.cpp
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-10-29 00:51:41 +0000
committerTim Shen <timshen91@gmail.com>2016-10-29 00:51:41 +0000
commit1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3 (patch)
treeead5c16a45d629a2407923d0e7a8833aa3b8f82f /llvm/lib/Support/APFloat.cpp
parent31fdcf39d377dc0c214dd0b76af8ce5ff3b7022a (diff)
downloadllvm-1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3.zip
llvm-1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3.tar.gz
llvm-1bab9cfbe5b0ac0bcc6b33967dc2a20c891716f3.tar.bz2
[APFloat] Remove the redundent function body of uninitialized ctor, which should be done in r285468
llvm-svn: 285486
Diffstat (limited to 'llvm/lib/Support/APFloat.cpp')
-rw-r--r--llvm/lib/Support/APFloat.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp
index 20e7841..3a33d74 100644
--- a/llvm/lib/Support/APFloat.cpp
+++ b/llvm/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);