Avi Kivity
0acf5bfca6
build: enable -Wreturn-std-move
...
Clang warns when "return std::move(x)" is needed to elide a copy,
but the call to std::move() is missing. We disabled the warning during
the migration to clang. This patch re-enables the warning and fixes
the places it points out, usually by adding std::move() and in one
place by converting the returned variable from a reference to a local,
so normal copy elision can take place.
Closes #8739
2021-05-27 21:16:26 +03:00
..
2021-05-27 21:16:26 +03:00
2021-05-06 18:00:54 +02:00
2019-10-25 12:04:44 +02:00
2021-05-20 01:33:18 +03:00
2021-05-06 15:36:20 +08:00
2020-02-10 20:54:32 +03:00
2021-05-12 17:05:34 +02:00
2021-05-24 10:47:06 +03:00
2021-05-24 10:47:06 +03:00
2019-04-02 19:08:25 +03:00
2020-04-15 12:20:30 +02:00
2021-05-19 15:03:51 +03:00
2021-05-19 15:03:51 +03:00
2020-08-15 20:26:02 +03:00
2020-03-23 09:29:45 +02:00
2021-03-24 17:54:05 +02:00
2021-05-21 20:56:42 +03:00
2018-12-10 21:22:56 +02:00
2020-03-05 16:09:44 +01:00
2020-08-26 20:44:11 +03:00
2017-06-13 09:57:14 +03:00
2020-12-24 11:37:43 +02:00
2020-12-01 15:19:42 +02:00
2021-04-20 21:23:00 +03:00
2020-03-23 09:29:45 +02:00
2020-08-17 16:44:14 +02:00
2021-04-20 21:23:00 +03:00
2018-11-26 18:49:08 +01:00
2020-03-15 10:25:20 +01:00
2021-04-20 21:23:00 +03:00
2021-05-05 13:23:00 +03:00
2021-05-20 01:33:18 +03:00
2021-04-25 11:35:07 +03:00
2021-05-05 13:23:00 +03:00
2021-05-05 13:23:00 +03:00
2020-08-10 18:53:04 +03:00
2020-08-10 18:53:04 +03:00
2021-05-27 17:13:44 +03:00
2021-05-25 16:07:23 +02:00
2020-04-05 12:46:04 +03:00
2021-05-27 21:16:26 +03:00
2021-05-24 17:50:21 +02:00
2018-12-19 22:38:29 +00:00
2021-05-12 17:05:34 +02:00
2021-05-12 17:05:35 +02:00
2020-03-23 09:29:45 +02:00