[PATCH] D65744: [PR42707][OpenCL] Fix addr space deduction for auto
John McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 13 11:23:10 PDT 2019
rjmccall added a comment.
I see. Is the deduction rule recursive or something, where a pointer to pointer is inferred to point to the same address space as the pointee? I still don't understand why pointers and references are handled differently here, instead of having the rule be "don't infer if the type is opaquely dependent or an `auto` placeholder".
CHANGES SINCE LAST ACTION
More information about the cfe-commits