[PATCH] D54862: [OpenCL] Add generic AS to 'this' pointer
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 5 06:19:41 PST 2018
Anastasia added inline comments.
================
Comment at: lib/AST/ItaniumMangle.cpp:1507
+ Qualifiers MethodQuals = Qualifiers::fromCVRUMask(
+ Method->getTypeQualifiers().getCVRUQualifiers());
// We do not consider restrict a distinguishing attribute for overloading
----------------
rjmccall wrote:
> You can overload based on the address space, right? I think it needs to be mangled.
Does this refer to our earlier discussion https://reviews.llvm.org/D54862#inline-484509
We don't have a way to qualify methods with an address space yet? I was going to send an RFC to `cfe-dev` for this but if you think it would be ok to go ahead with an implementation, I am happy with it. Either way would it be better to do this in a separate patch?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54862/new/
https://reviews.llvm.org/D54862
More information about the cfe-commits
mailing list