C++ for OpenCL version 2021 and later are expected to consist of a
major version number only. Therefore, a different constructor for
VersionTuple needs to be called when reporting language version.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM! Thanks!
I imagine you will be adding some tests that will check the correctness of diagnostic wording in the subsequent commits?
Comment Actions
Yes, I will add tests for diagnostics reporting once C++ for OpenCL 2021 achieves similar functionality as OpenCL 3.0.
Comment Actions
Changes rG054e331d9dbd and rG37cdc7ebd9a3 contain test cases that display C++ for OpenCL version 2021 in diagnostics.