[PATCH] D46651: [OpenCL] Support placement new/delete in Sema
Sven van Haastregt via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 9 10:49:06 PDT 2018
svenvh created this revision.
svenvh added reviewers: yaxunl, Anastasia.
Herald added a subscriber: cfe-commits.
Stop crashing on placement new/delete in OpenCL C++ mode, and reject
non-placement new/delete with a diagnostic instead of a crash.
Repository:
rC Clang
https://reviews.llvm.org/D46651
Files:
lib/Sema/SemaDeclCXX.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaType.cpp
test/SemaOpenCLCXX/newdelete.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46651.145957.patch
Type: text/x-patch
Size: 4449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180509/602b7372/attachment.bin>
More information about the cfe-commits
mailing list