[LLVMbugs] [Bug 22218] New: Warn when trying to std::move from something that's already an rvalue

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 13 11:57:19 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22218

            Bug ID: 22218
           Summary: Warn when trying to std::move from something that's
                    already an rvalue
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andersca at icloud.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In WebKit we have our own WTF::move that makes calling std::move on a value
that's already an rvalue. It would be nice if clang warned on this natively
instead.

-- 
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/20150113/1f0ecad7/attachment.html>


More information about the llvm-bugs mailing list