Skip to content

Commit 369b2a7

Browse files
authored
[libc] Remove unused _Thread_local define from headers. (#156967)
It was added in dd33f9c to describe thread-local errno, but is no longer used in the codebase (with the exception of a single integration test, but the llvm-libc-provided `#define _Thread_local thread_local` is not needed there anyway, since `_Thread_local` is a keyword from C11 onwards.
1 parent 4e60759 commit 369b2a7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libc/include/__llvm-libc-common.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@
3737
#undef _Alignof
3838
#define _Alignof alignof
3939

40-
#undef _Thread_local
41-
#define _Thread_local thread_local
42-
4340
#undef __NOEXCEPT
4441
#if __cplusplus >= 201103L
4542
#define __NOEXCEPT noexcept

0 commit comments

Comments
 (0)