[PATCH] D57464: Generalize method overloading on addr spaces to C++

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 30 10:04:17 PST 2019


Anastasia created this revision.
Anastasia added reviewers: rjmccall, ebevhan.

Here is my attempt to generalize the earlier work on method overloading with address spaces https://reviews.llvm.org/D55850 to work in C++ mode (not just OpenCL!).

This implementation doesn't apply yet to templated addr spaces because I would need to perform modifications on the extended function info. Also a couple of smaller corner cases are not handled. However, if the general direction is right, the rest can be build on top of this patch.


https://reviews.llvm.org/D57464

Files:
  lib/Parse/ParseDeclCXX.cpp
  lib/Sema/SemaType.cpp
  test/SemaCXX/address-space-method-overloading.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57464.184318.patch
Type: text/x-patch
Size: 8752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190130/b07d699d/attachment.bin>


More information about the cfe-commits mailing list