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

            Bug ID: 22219
           Summary: Warn when trying to std::move from a const reference
           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 const a compile error. It'd be nice if this was supported as a native
warning 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