diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2015-08-25 23:08:51 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2015-08-25 23:08:51 +0000 |
| commit | 1ab47ef7598aae1476871cd8e972786f2742fd40 (patch) | |
| tree | 9d3e348de79ce444120ed5484b941a827fa858f4 /devel/llvm36/files/patch-include__llvm__ADT__APFloat.h | |
| parent | devel/premake4 is not jobs safe (diff) | |
Fix pessimizing moves in devel/llvm36, for the benefit of other ports
PR: 202596
Submitted by: dim
Diffstat (limited to 'devel/llvm36/files/patch-include__llvm__ADT__APFloat.h')
| -rw-r--r-- | devel/llvm36/files/patch-include__llvm__ADT__APFloat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h b/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h new file mode 100644 index 000000000000..0c036ba77e20 --- /dev/null +++ b/devel/llvm36/files/patch-include__llvm__ADT__APFloat.h @@ -0,0 +1,11 @@ +--- include/llvm/ADT/APFloat.h.orig 2014-10-10 10:27:22.000000000 +0200 ++++ include/llvm/ADT/APFloat.h 2015-08-23 18:33:44.005954000 +0200 +@@ -349,7 +349,7 @@ public: + /// copied from some other APFloat. + static APFloat copySign(APFloat Value, const APFloat &Sign) { + Value.copySign(Sign); +- return std::move(Value); ++ return Value; + } + + /// @} |
