From: Richard Smith Date: Thu, 29 Jan 2015 03:34:39 +0000 (+0000) Subject: Don't use BCPL comments here, in case someone wants to use from C89... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c592dec817a7470618943c7d509fb60be8b14e2;p=clang Don't use BCPL comments here, in case someone wants to use from C89 mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227417 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/stdatomic.h b/lib/Headers/stdatomic.h index e3c34767a2..e037987660 100644 --- a/lib/Headers/stdatomic.h +++ b/lib/Headers/stdatomic.h @@ -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 _Value; } atomic_flag; #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);