[PATCH] D100620: [OpenMP] Make sure classes work on the device as they do on the host

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 5 21:33:00 PDT 2021


jdoerfert updated this revision to Diff 343279.
jdoerfert marked an inline comment as done.
jdoerfert added a comment.

Split the new/delete operators based on std::nothrow_t and provide the ones
that do not use this type by default, the others as part of <new>.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100620/new/

https://reviews.llvm.org/D100620

Files:
  clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
  clang/lib/Headers/openmp_wrappers/new
  clang/test/Headers/Inputs/include/new
  clang/test/Headers/Inputs/include/stdlib.h
  clang/test/Headers/target_include_new.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100620.343279.patch
Type: text/x-patch
Size: 5254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210506/efa9fa29/attachment.bin>


More information about the cfe-commits mailing list