[all-commits] [llvm/llvm-project] 9ae926: [OpenCL] Fix version reporting of C++ for OpenCL 2021
Justas Janickas via All-commits
all-commits at lists.llvm.org
Fri Aug 20 00:58:57 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9ae9262857a1e7aadc385a68a00755896440f6b1
https://github.com/llvm/llvm-project/commit/9ae9262857a1e7aadc385a68a00755896440f6b1
Author: Justas Janickas <Justas.Janickas at arm.com>
Date: 2021-08-20 (Fri, 20 Aug 2021)
Changed paths:
M clang/lib/Basic/LangOptions.cpp
Log Message:
-----------
[OpenCL] Fix version reporting of C++ for OpenCL 2021
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.
Differential Revision: https://reviews.llvm.org/D108379
More information about the All-commits
mailing list