[PATCH] D65744: [PR42707][OpenCL] Fix addr space deduction for auto
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 12 23:26:07 PDT 2019
rjmccall added a comment.
Isn't the general rule for template argument deduction (which this devolves to) just to ignore top-level qualifiers? And then you can substitute in the substituted type and end up with a properly qualified type for the parameter / variable, and you can add extra qualifiers as necessary. Why are special rules for pointers and references required?
CHANGES SINCE LAST ACTION
More information about the cfe-commits