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-20 01:33:18 +03:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-05-10 11:48:14 +02:00
2021-04-12 16:30:01 +02:00
2021-05-10 10:10:38 +02:00
2021-03-15 19:00:33 +03:00
2021-05-27 21:16:26 +03:00
2021-03-15 19:35:43 +03:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-04-12 16:30:01 +02:00
2021-04-12 16:30:01 +02:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2021-05-20 01:33:18 +03:00
2021-05-20 01:33:18 +03:00
2020-09-04 13:13:26 +03:00
2020-09-04 12:25:06 +03:00
2021-02-16 15:58:38 +02:00
2021-02-16 15:58:38 +02:00
2020-03-23 09:29:45 +02:00
2021-02-16 15:58:37 +02:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-05-27 15:46:30 +03:00
2021-03-15 19:00:33 +03:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-05-10 11:48:14 +02:00
2021-04-12 16:30:01 +02:00
2021-03-15 19:36:04 +03:00
2021-03-15 19:00:33 +03:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:36:04 +03:00
2021-03-15 19:00:33 +03:00
2021-02-16 15:58:37 +02:00
2019-11-26 14:18:17 +03:00
2021-04-12 16:30:01 +02:00
2021-04-12 16:30:01 +02:00
2021-03-15 19:35:36 +03:00
2021-03-15 19:00:33 +03:00
2021-05-10 10:10:38 +02:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:35:48 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-04-12 16:30:01 +02:00
2021-04-12 16:30:01 +02:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-04-20 21:23:00 +03:00
2021-03-15 19:00:33 +03:00
2021-04-20 21:23:00 +03:00
2020-02-24 11:17:19 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-05-20 01:32:57 +03:00
2019-01-08 13:16:36 +02:00
2020-02-20 18:14:49 +02:00
2020-02-20 18:14:49 +02:00
2020-08-15 20:26:02 +03:00
2019-09-15 10:38:09 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-04-12 16:30:01 +02:00
2021-04-12 16:30:01 +02:00
2021-05-27 13:02:22 +02:00
2021-04-12 16:30:01 +02:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-04-23 15:01:39 -04:00
2021-04-20 21:23:00 +03:00
2020-11-16 20:23:52 -05:00
2020-02-24 11:17:19 +03:00
2020-04-27 12:47:42 +03:00
2021-05-20 01:32:57 +03:00
2021-05-20 01:32:57 +03:00
2020-03-23 09:29:45 +02:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-03-15 19:00:33 +03:00
2021-05-27 11:27:38 +03:00
2021-03-15 19:00:33 +03:00
2021-05-20 01:32:57 +03:00
2021-05-18 12:47:35 +03:00
2021-03-15 19:00:33 +03:00
2021-04-12 16:30:01 +02:00
2021-05-20 01:32:57 +03:00
2021-05-27 13:02:22 +02:00
2021-05-20 01:32:57 +03:00
2019-11-14 13:14:39 +01:00
2021-04-20 21:23:00 +03:00
2021-05-20 01:32:57 +03:00
2021-05-21 20:54:44 +03:00
2021-05-20 01:32:57 +03:00
2021-03-15 19:36:04 +03:00
2021-05-20 01:32:57 +03:00