comparison libc/include/__llvm-libc-common.h @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents c4bab56944e8
children
comparison
equal deleted inserted replaced
237:c80f45b162ad 252:1f2b6ac9f198
30 #define _Alignof alignof 30 #define _Alignof alignof
31 31
32 #undef _Thread_local 32 #undef _Thread_local
33 #define _Thread_local thread_local 33 #define _Thread_local thread_local
34 34
35 #undef __NOEXCEPT
36 #define __NOEXCEPT noexcept
37
35 #else // not __cplusplus 38 #else // not __cplusplus
36 39
37 #undef __BEGIN_C_DECLS 40 #undef __BEGIN_C_DECLS
38 #define __BEGIN_C_DECLS 41 #define __BEGIN_C_DECLS
39 42
41 #define __END_C_DECLS 44 #define __END_C_DECLS
42 45
43 #undef __restrict 46 #undef __restrict
44 #define __restrict restrict // C99 and above support the restrict keyword. 47 #define __restrict restrict // C99 and above support the restrict keyword.
45 48
49 #undef __NOEXCEPT
50 #define __NOEXCEPT
51
46 #endif // __cplusplus 52 #endif // __cplusplus
47 53
48 #endif // LLVM_LIBC___COMMON_H 54 #endif // LLVM_LIBC___COMMON_H