[Webkit-unassigned] [Bug 195798] New: [WTF] Remove redundant std::move in StringConcatenate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 15 03:29:01 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=195798

            Bug ID: 195798
           Summary: [WTF] Remove redundant std::move in StringConcatenate
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xan.lopez at gmail.com

GCC (since 9.x when -Wredundant-move is enabled by default) warns of two redundant move operations in StringConcatenate. AFAICT the issue is that C++ will already do an implicit move when a local value is returned and copy (or move) elision is not applicable, as in here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190315/9a04e062/attachment-0001.html>


More information about the webkit-unassigned mailing list