[clang] [clang-tools-extra] Remove ^^ as a token in OpenCL (PR #108224)
Anastasia Stulova via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 16 03:54:31 PDT 2024
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
More information about the cfe-commits
mailing list