AnastasiaStulova wrote:

> Thanks! Making sure I follow along, basically you're saying this patch is 
> good because it keeps the ^^ token reserved, and if/when OpenCL supports C++, 
> it can then use this token for reflection in C++ (if that's chosen by WG21 
> for the syntax) or use it for its own needs?

Exactly!

> One thing to make sure we're both on the same page for -- should the OpenCL 
> spec folks be alerted to the fact that ^^ as a single token conflicts with 
> blocks in C? (That suggests it's perhaps not a good token to use for a binary 
> operator and maybe they want to un-reserve it?)

It may make sense to report this indeed. An issue can be submitted to this 
repo: https://github.com/KhronosGroup/OpenCL-Docs.

CC: @svenvh 


https://github.com/llvm/llvm-project/pull/108224
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to