[llvm-bugs] [Bug 42832] -Wpessimizing-move and -Wredundant-move are applicable only when returned expression is id-expression

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 7 17:15:46 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42832

rtrieu at google.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from rtrieu at google.com ---
This is fixed in r368237.  The new fix-it will now suggest removing the
initializer list braces along with the std::move call.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190808/c4bd15b2/attachment.html>


More information about the llvm-bugs mailing list