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

Douglas Gregor <[email protected]> changed:

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

--- Comment #1 from Douglas Gregor <[email protected]> 2013-01-22 11:02:53 CST 
---
Clang is correct to reject this code. The qualifiers on the function type (the
trailing const) are separate from the qualifiers on the class of which the
function is a member (which are ignored). Thus, void (const foo::*)()' is the
same type as void (foo::*)(), and one cannot convert from void (foo::*) const
to void (foo::*)().

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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