[Openmp-commits] [llvm] [openmp] [OMPT][Offload][OpenMP] Fixes for OMPT data used by libomptarget (PR #156020)

Jan Patrick Lehr via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 30 03:43:59 PDT 2025


================
@@ -216,16 +226,16 @@ class Interface {
 
 private:
   /// Target operations id
-  ompt_id_t HostOpId = 0;
-
-  /// Target region data
-  ompt_data_t TargetData = ompt_data_none;
+  ompt_id_t HostOpId{0};
----------------
jplehr wrote:

Why are the changes to the way of initialization required?

https://github.com/llvm/llvm-project/pull/156020


More information about the Openmp-commits mailing list