[Openmp-commits] [PATCH] D143940: [OpenMP] Fix extra parenthesis in kmp_os.h

Vadim Paretsky via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Feb 13 12:16:54 PST 2023


vadikp-intel created this revision.
vadikp-intel added a reviewer: natgla.
vadikp-intel added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
vadikp-intel requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, sstefan1.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143940

Files:
  openmp/runtime/src/kmp_os.h


Index: openmp/runtime/src/kmp_os.h
===================================================================
--- openmp/runtime/src/kmp_os.h
+++ openmp/runtime/src/kmp_os.h
@@ -610,7 +610,7 @@
 #define KMP_XCHG_FIXED8(p, v)                                                  \
   _InterlockedExchange8((volatile kmp_int8 *)(p), (kmp_int8)(v));
 #define KMP_XCHG_FIXED16(p, v) _InterlockedExchange16((p), (v));
-#define KMP_XCHG_REAL64(p, v) __kmp_xchg_real64((p), (v)));
+#define KMP_XCHG_REAL64(p, v) __kmp_xchg_real64((p), (v));
 
 inline kmp_real64 __kmp_xchg_real64(volatile kmp_real64 *p, kmp_real64 v) {
   kmp_int64 tmp = _InterlockedExchange64((volatile kmp_int64 *)p, *(kmp_int64


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143940.497068.patch
Type: text/x-patch
Size: 681 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230213/95bc0027/attachment.bin>


More information about the Openmp-commits mailing list