projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove std::move on return when it could prevent copy elision.
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
APFloat.h
diff --git
a/include/llvm/ADT/APFloat.h
b/include/llvm/ADT/APFloat.h
index 53b53c5dfa546df940a2a003028b23c3db68e4dd..958e3fdaea14dc69255db32a4ba2cfa8d5f16f8c 100644
(file)
--- a/
include/llvm/ADT/APFloat.h
+++ b/
include/llvm/ADT/APFloat.h
@@
-343,7
+343,7
@@
public:
/// copied from some other APFloat.
static APFloat copySign(APFloat Value, const APFloat &Sign) {
Value.copySign(Sign);
- return
std::move(Value)
;
+ return
Value
;
}
/// @}