[PATCH] D80317: [SYCL] Prohibit arithmetic operations for incompatible pointers
Alexey Bader via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 21 11:21:56 PDT 2020
bader updated this revision to Diff 265547.
bader added a comment.
- Added C test case with address_space attribute.
- Move isAddressSpaceOverlapping from PointerType to QualType.
- Move C++ test case to clang/test/SemaCXX
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80317/new/
https://reviews.llvm.org/D80317
Files:
clang/include/clang/AST/Type.h
clang/lib/Sema/SemaCast.cpp
clang/lib/Sema/SemaExpr.cpp
clang/test/Sema/address_spaces.c
clang/test/SemaCXX/address-space-arithmetic.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80317.265547.patch
Type: text/x-patch
Size: 5995 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200521/9f6934f1/attachment.bin>
More information about the cfe-commits
mailing list