-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
Description
Please consider this code (from my attempt on compiling libc++ in OpenCL C++ dialect)
https://godbolt.org/z/EYGs97zKs
It is hard for me to imagine what __generic char
typename even is.
I am looking for confirmation that types shouldn't propagate address space in such cases unless those are pointers/references,
and I should consider it bug.
Should such idiomatic code C++ should compile (please disregard __constant
case which is separate issue) or it is just how it was specified?
Still wrapping my head around address space rules, help with understanding the correct behavior would be really appreciated.
For function types the it wording is pretty clear, thus #153508 and #153459 which I consider a progress in right direction.