[PATCH] D21863: Fix typo in atomic macros
Zachary Mahler via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 29 15:10:21 PDT 2016
zmahler created this revision.
zmahler added a reviewer: hfinkel.
zmahler added a subscriber: cfe-commits.
Some of the macros should be defined without the extra "_T_".
Fix https://llvm.org/bugs/show_bug.cgi?id=27200
http://reviews.llvm.org/D21863
Files:
lib/Headers/stdatomic.h
Index: lib/Headers/stdatomic.h
===================================================================
--- lib/Headers/stdatomic.h
+++ lib/Headers/stdatomic.h
@@ -45,11 +45,11 @@
#define ATOMIC_CHAR16_T_LOCK_FREE __GCC_ATOMIC_CHAR16_T_LOCK_FREE
#define ATOMIC_CHAR32_T_LOCK_FREE __GCC_ATOMIC_CHAR32_T_LOCK_FREE
#define ATOMIC_WCHAR_T_LOCK_FREE __GCC_ATOMIC_WCHAR_T_LOCK_FREE
-#define ATOMIC_SHORT_T_LOCK_FREE __GCC_ATOMIC_SHORT_T_LOCK_FREE
-#define ATOMIC_INT_T_LOCK_FREE __GCC_ATOMIC_INT_T_LOCK_FREE
-#define ATOMIC_LONG_T_LOCK_FREE __GCC_ATOMIC_LONG_T_LOCK_FREE
-#define ATOMIC_LLONG_T_LOCK_FREE __GCC_ATOMIC_LLONG_T_LOCK_FREE
-#define ATOMIC_POINTER_T_LOCK_FREE __GCC_ATOMIC_POINTER_T_LOCK_FREE
+#define ATOMIC_SHORT_LOCK_FREE __GCC_ATOMIC_SHORT_LOCK_FREE
+#define ATOMIC_INT_LOCK_FREE __GCC_ATOMIC_INT_LOCK_FREE
+#define ATOMIC_LONG_LOCK_FREE __GCC_ATOMIC_LONG_LOCK_FREE
+#define ATOMIC_LLONG_LOCK_FREE __GCC_ATOMIC_LLONG_LOCK_FREE
+#define ATOMIC_POINTER_LOCK_FREE __GCC_ATOMIC_POINTER_LOCK_FREE
/* 7.17.2 Initialization */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21863.62291.patch
Type: text/x-patch
Size: 1082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160629/f327283d/attachment.bin>
More information about the cfe-commits
mailing list