r227417 - Don't use BCPL comments here, in case someone wants to use <stdatomic.h> from C89 mode.
Richard Smith
richard-llvm at metafoo.co.uk
Wed Jan 28 19:34:39 PST 2015
Author: rsmith
Date: Wed Jan 28 21:34:39 2015
New Revision: 227417
URL: http://llvm.org/viewvc/llvm-project?rev=227417&view=rev
Log:
Don't use BCPL comments here, in case someone wants to use <stdatomic.h> from C89 mode.
Modified:
cfe/trunk/lib/Headers/stdatomic.h
Modified: cfe/trunk/lib/Headers/stdatomic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/stdatomic.h?rev=227417&r1=227416&r2=227417&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/stdatomic.h (original)
+++ cfe/trunk/lib/Headers/stdatomic.h Wed Jan 28 21:34:39 2015
@@ -71,7 +71,7 @@ typedef enum memory_order {
/* 7.17.4 Fences */
-// These should be provided by the libc implementation.
+/* These should be provided by the libc implementation. */
void atomic_thread_fence(memory_order);
void atomic_signal_fence(memory_order);
@@ -164,7 +164,7 @@ typedef struct atomic_flag { atomic_bool
#define ATOMIC_FLAG_INIT { 0 }
-// These should be provided by the libc implementation.
+/* These should be provided by the libc implementation. */
#ifdef __cplusplus
bool atomic_flag_test_and_set(volatile atomic_flag *);
bool atomic_flag_test_and_set_explicit(volatile atomic_flag *, memory_order);
More information about the cfe-commits
mailing list