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-04-22 15:38:10 +02:00
2021-05-24 14:24:20 +03:00
2021-05-20 01:33:18 +03:00
2021-05-05 14:33:49 +03:00
2021-05-18 13:43:01 +03:00
2021-05-05 12:03:42 +03:00
2021-05-20 01:59:14 +03:00
2021-05-21 21:01:54 +03:00
2021-05-05 12:03:42 +03:00
2021-05-04 12:01:27 +03:00
2020-11-17 16:53:20 +01:00
2021-04-25 11:16:10 +03:00
2021-04-25 11:16:10 +03:00
2021-05-21 21:02:16 +03:00
2021-03-26 00:22:11 +01:00
2021-05-20 01:59:14 +03:00
2021-05-20 01:59:14 +03:00
2021-05-27 21:16:26 +03:00
2021-03-18 18:45:05 +02:00
2021-01-08 14:16:08 +01:00
2021-03-31 12:09:52 +02:00
2021-04-25 11:16:10 +03:00
2021-03-02 13:21:22 +02:00
2021-05-25 11:24:42 +03:00
2021-05-20 01:59:14 +03:00
2021-01-16 20:03:17 +08:00
2021-01-16 20:03:17 +08:00
2021-05-20 01:33:18 +03:00
2021-04-25 11:16:10 +03:00
2021-04-14 13:16:00 +02:00
2021-05-27 21:16:26 +03:00
2021-04-21 11:03:16 -03:00
2021-03-30 09:37:41 +02:00
2021-02-01 16:45:52 +02:00
2021-05-24 15:12:48 +03:00
2021-05-12 03:48:07 +03:00
2021-05-12 03:48:07 +03:00
2021-05-20 01:59:14 +03:00
2021-05-20 01:33:18 +03:00
2021-03-18 19:26:43 +02:00
2021-01-24 10:38:55 +02:00
2021-03-01 07:49:23 +02:00
2021-01-11 09:12:56 +02:00
2021-05-20 02:03:24 +03:00