[llvm] [offload] Fix extra semicolon after API_HELPER_OPTIONAL macro in L0Compat.h (PR #214569)

Srividya Sundaram via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 11:52:05 PDT 2026


https://github.com/srividya-sundaram updated https://github.com/llvm/llvm-project/pull/214569

>From 4a8f21946cc9591b7f62953db5bf42a6f9c5b6d1 Mon Sep 17 00:00:00 2001
From: srividya sundaram <srividya.sundaram at intel.com>
Date: Thu, 6 Aug 2026 13:37:55 -0700
Subject: [PATCH] [offload] Fix extra semicolon after API_HELPER_OPTIONAL macro
 in L0Compat.h

Remove extra semicolon after API_HELPER_OPTIONAL macro invocation which
is flagged as incompatible with C++98 [-Wc++98-compat-extra-semi].
---
 offload/plugins-nextgen/level_zero/include/L0Compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/offload/plugins-nextgen/level_zero/include/L0Compat.h b/offload/plugins-nextgen/level_zero/include/L0Compat.h
index 2062c9624ad20..dfa49e080033d 100644
--- a/offload/plugins-nextgen/level_zero/include/L0Compat.h
+++ b/offload/plugins-nextgen/level_zero/include/L0Compat.h
@@ -23,6 +23,6 @@ API_HELPER_OPTIONAL(ze_result_t, zeCommandListAppendLaunchKernelWithArguments,
                     const ze_group_count_t groupCounts,
                     const ze_group_size_t groupSizes, void **pArguments,
                     const void *pNext, ze_event_handle_t hSignalEvent,
-                    uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents);
+                    uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents)
 
 #endif // OPENMP_LIBOMPTARGET_PLUGINS_NEXTGEN_LEVEL_ZERO_L0COMPAT_H



More information about the llvm-commits mailing list