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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to