[clang] [OpenCL] Add warning for reserved 'long long' type (PR #196002)
Wenju He via cfe-commits
cfe-commits at lists.llvm.org
Wed May 6 02:05:23 PDT 2026
================
@@ -8,8 +8,6 @@ kernel void test() {
int v1[(__alignof(int)== 4) ? 1 : -1];
int v2[(sizeof(long) == 8) ? 1 : -1];
int v3[(__alignof(long)== 8) ? 1 : -1];
- int v4[(sizeof(long long) == 16) ? 1 : -1];
----------------
wenju-he wrote:
done, reverted change and disabled the warning for the test
https://github.com/llvm/llvm-project/pull/196002
More information about the cfe-commits
mailing list