[PATCH] D55850: [OpenCL] Allow address spaces as method qualifiers
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 18 12:41:45 PST 2018
Anastasia created this revision.
Anastasia added a reviewer: rjmccall.
Herald added a subscriber: yaxunl.
This patch allows qualifying methods with address spaces and extends some overloading rules to use those qualifiers.
The main use case is to prevent conversions to generic/default address space where it's requested by the programmer. More details can be found in:
This patch doesn't enable the feature for C++ yet but it can easily be generalized if the overall flow is right.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8938 bytes
Desc: not available
More information about the cfe-commits