[Openmp-commits] [PATCH] D148027: [OpenMP][libomptarget] Remove error data member from AsyncInfoWrapperTy

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 18 06:49:21 PDT 2023


jhuber6 added inline comments.


================
Comment at: openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp:208
 
-Error AsyncInfoWrapperTy::finalize() {
+void AsyncInfoWrapperTy::finalize(Error &Err) {
   assert(AsyncInfoPtr && "AsyncInfoWrapperTy already finalized");
----------------
We need to explicitly discard this error now, otherwise it will abort the program when its destructor is called.


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

https://reviews.llvm.org/D148027



More information about the Openmp-commits mailing list