Home
last modified time | relevance | path

Searched refs:_Thread_local (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang/test/PCH/
H A Dthread-local.cpp8 extern _Thread_local int b;
13 _Thread_local int a; // expected-error {{thread-local declaration of 'a' with static initialization…
/llvm-project-15.0.7/clang/test/CXX/class/class.friend/
H A Dp6.cpp15 …friend _Thread_local class G; // expected-error {{'_Thread_local' is invalid in friend declaration…
16 …friend static _Thread_local class G; // expected-error {{'static _Thread_local' is invalid in frie…
/llvm-project-15.0.7/libc/include/
H A D__llvm-libc-common.h32 #undef _Thread_local
33 #define _Thread_local thread_local macro
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/
H A Dp3-2b.cpp45 …static _Thread_local int a; // expected-warning {{definition of a static variable in a constexpr f… in c_thread_local()
46 …_Thread_local int b; // // expected-error {{'_Thread_local' variables must have global stor… in c_thread_local()
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Drestricted.clcpp32 __constant _Thread_local int a = 1;
33 // expected-error@-1 {{C++ for OpenCL version 1.0 does not support the '_Thread_local' storage clas…
34 // expected-warning@-2 {{'_Thread_local' is a C11 extension}}
/llvm-project-15.0.7/clang/test/Sema/
H A Dthread-specifier.c79 _Thread_local int t17; // expected-error {{thread-local declaration of 't17' with static initializa…
81 extern _Thread_local int t18; // expected-note {{previous declaration is here}} \
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx11-thread-local-print.cpp7 _Thread_local int c11_tl;
H A Dconstant-expression-cxx2b.cpp23 …static _Thread_local int m = 0; // expected-note {{control flows through the definition of a t… in c_thread_local()
/llvm-project-15.0.7/libc/test/integration/loader/linux/
H A Dtls_test.cpp17 _Thread_local int a[threadLocalDataSize] = {123};
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_fuchsia.cpp396 static _Thread_local char line[size]; in RawWrite()
397 static _Thread_local size_t lastLineEnd = 0; in RawWrite()
398 static _Thread_local size_t cur = 0; in RawWrite()
/llvm-project-15.0.7/lld/test/ELF/
H A Dmips-tls-64-pic-local-variable.s32 # _Thread_local int x;
/llvm-project-15.0.7/libunwind/src/
H A DUnwind-sjlj.c66 # define _LIBUNWIND_THREAD_LOCAL _Thread_local
/llvm-project-15.0.7/libc/config/linux/
H A Dapi.td48 extern _Thread_local int __llvmlibc_errno;
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTokenKinds.def329 KEYWORD(_Thread_local , KEYALL)
/llvm-project-15.0.7/clang/docs/
H A DLanguageExtensions.rst1318 C11 ``_Thread_local``
1322 to determine if support for ``_Thread_local`` variables is enabled.