[clang] [clang-tools-extra] Remove ^^ as a token in OpenCL (PR #108224)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 04:46:54 PDT 2024
AaronBallman 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
Thank you, I filed https://github.com/KhronosGroup/OpenCL-Docs/issues/1264
https://github.com/llvm/llvm-project/pull/108224
More information about the cfe-commits
mailing list