[PATCH] D36584: Implemented P0704R1 - Fixing const-qualified pointers to members

Hamza Sood via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 10 09:54:13 PDT 2017


hamzasood created this revision.

This patch provides an implementation for P0704R1 <http://wg21.link/p0704r1>.

I also made it work pre-C++2a as an extension (with a warning) since that's how Clang seems to deal with small additions like this. Hopefully someone more knowledgable on the matter can clarify whether that's appropriate.


https://reviews.llvm.org/D36584

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaExprCXX.cpp
  test/CXX/expr/expr.mptr.oper/p6-0x.cpp
  test/CXX/expr/expr.mptr.oper/p6-2a.cpp
  www/cxx_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36584.110600.patch
Type: text/x-patch
Size: 6993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170810/ea57842c/attachment.bin>


More information about the cfe-commits mailing list