[PATCH] Handle overloaded functions bound to pointers

David Majnemer david.majnemer at gmail.com
Sat Jul 27 19:05:48 PDT 2013

Clang's implementation of DR61 is seemingly incomplete.

We currently disallow the case where the overloaded member expression is
coming from an address-of operator but we don't issue any diagnostics when
the overloaded member expression comes by way of a function to pointer
decay cast.

Attached is a patch that should properly handle this case.

David Majnemer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130727/45df7445/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1.diff
Type: application/octet-stream
Size: 5502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130727/45df7445/attachment.obj>

More information about the cfe-commits mailing list