[llvm-bugs] [Bug 37846] type of const member function
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 20 14:48:40 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37846
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard-llvm at metafoo.co.uk
Resolution|INVALID |---
Status|RESOLVED |REOPENED
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
After some discussion on the core reflector, we think GCC's approach here is
actually the right one. The set of places where functions with *this qualifiers
are permitted is pretty restricted, and we don't want typeid(T) in that set; a
strict reading of [dcl.fct]p6 suggests that it is not in the set, so GCC is
correct to reject.
--
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/20180620/299e14d9/attachment.html>
More information about the llvm-bugs
mailing list