[APFloat] APFloat::Storage::Storage - refix use after move
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 7 Jun 2019 19:51:22 +0000 (19:51 +0000)
committerNick Desaulniers <ndesaulniers@google.com>
Fri, 7 Jun 2019 19:51:22 +0000 (19:51 +0000)
commit7ddd694d3684aba30a6f2b49a54aea0f58b6d835
treefd5e2fbc73c7638b887552d1fde6b2766b308fb0
parentd4a8089f035a1724d2c6642c6d205b8c96b8b2e6
[APFloat] APFloat::Storage::Storage - refix use after move

Summary:
Re-land r360675 after it was reverted in r360770.

This was reported in:
https://llvm.org/reports/scan-build/

Based on feedback in:
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190513/652286.html

Reviewers: RKSimon, efriedma

Reviewed By: RKSimon, efriedma

Subscribers: eli.friedman, hiraditya, llvm-commits, srhines

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D62767

llvm-svn: 362833
llvm/lib/Support/APFloat.cpp