Summary: | Fix -Wredundant-move warnings | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> | ||||
Component: | WebKit2 | Assignee: | Michael Catanzaro <mcatanzaro> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | achristensen, kkinnunen, mcatanzaro, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Michael Catanzaro
2021-09-14 15:59:25 PDT
Created attachment 438185 [details]
Patch
(BTW the difference here is: GCC warns whenever a WTFMove is redundant in return values, whereas clang only warns when a WTFMove actually prevents copy elision from happening. I don't know the differences between the two cases.) Comment on attachment 438185 [details]
Patch
Thanks.
Committed r282421 (241680@main): <https://commits.webkit.org/241680@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 438185 [details]. |