Skip to content

Commit

Permalink
[APFloat] Remove the redundent function body of uninitialized ctor, w…
Browse files Browse the repository at this point in the history
…hich should be done in r285468

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285486 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
timshen91 committed Oct 29, 2016
1 parent b53c2b0 commit b7f36bc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/Support/APFloat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b7f36bc

Please sign in to comment.