[Openmp-commits] [PATCH] D109276: [OpenMP][libomptarget] Change device vector elements to unique_ptr type
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Sep 4 12:05:58 PDT 2021
tianshilei1992 added inline comments.
================
Comment at: openmp/libomptarget/src/device.h:279
- // provide a copy constructor and an assignment operator explicitly.
- DeviceTy(const DeviceTy &D);
-
----------------
Mark them as `delete` if you expect it should not be copied at all.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109276/new/
https://reviews.llvm.org/D109276
More information about the Openmp-commits
mailing list