/external/clang/test/SemaCXX/ |
cxx11-thread-local.cpp | 4 static thread_local int a; 6 thread_local int c; // expected-error {{'thread_local' is only allowed on variable declarations}} 7 static thread_local int d; // expected-note {{here}} 10 thread_local int S::a; 11 thread_local int S::b; // expected-error {{thread-local declaration of 'b' follows non-thread-local declaration}} 12 thread_local int S::c; // expected-error {{non-static data member defined out-of-line}} 15 thread_local int x[3]; 16 thread_local int y[3]; 17 thread_local int z[3]; // expected-note {{previous} [all...] |
cxx11-thread-local-print.cpp | 5 // CHECK: thread_local int cxx11_tl; 8 thread_local int cxx11_tl; 11 // CHECK: thread_local int cxx11_tl; 14 thread_local int cxx11_tl;
|
cxx1y-array-runtime-bound.cpp | 47 // FIXME: say 'thread_local' not 'static'. 48 thread_local int not_auto1[n]; // expected-error {{can not have 'static'}}
|
constant-expression-cxx1y.cpp | 50 thread_local const int m = n; // expected-error {{thread_local variable not permitted in a constexpr function}}
|
constant-expression-cxx11.cpp | 358 constexpr thread_local B b3 { { 1 }, { 2 } }; // expected-error {{constant expression}} expected-note {{reference to temporary}} expected-note {{here}} 361 constexpr thread_local B b2 { { 1 }, { 2 } }; // expected-error {{constant expression}} expected-note {{reference to temporary}} expected-note {{here}} [all...] |
/external/clang/test/PCH/ |
thread-local.cpp | 7 extern thread_local int a; 15 thread_local int b; // expected-error {{thread-local declaration of 'b' with dynamic initialization follows declaration with static initialization}} 17 thread_local int c; // expected-error {{thread-local declaration of 'c' follows non-thread-local declaration}}
|
/external/clang/test/CodeGenCXX/ |
tls-init-funcs.cpp | 3 // CHECK: @a = internal thread_local global 10 thread_local A a;
|
cxx11-thread-local.cpp | 6 // CHECK: @a = thread_local global i32 0 7 thread_local int a = f(); 8 extern thread_local int b; 11 // CHECK: @_ZL1d = internal thread_local global i32 0 12 static thread_local int d = g(); 14 struct U { static thread_local int m; }; 15 // CHECK: @_ZN1U1mE = thread_local global i32 0 16 thread_local int U::m = f(); 18 template<typename T> struct V { static thread_local int m; }; 19 template<typename T> thread_local int V<T>::m = g() [all...] |
cxx11-thread-local-reference.cpp | 5 // CHECK: @r = thread_local global i32* null 6 thread_local int &r = f();
|
cxx0x-initializer-stdinitializerlist.cpp | 56 // initializer is not a constant expression (pointers to thread_local 59 // CHECK: @_ZN25thread_local_global_array1xE = thread_local global 60 // CHECK: @_ZGRN25thread_local_global_array1xE = private thread_local constant [4 x i32] [i32 1, i32 2, i32 3, i32 4] 61 std::initializer_list<int> thread_local x = { 1, 2, 3, 4 }; 78 // thread_local initializer:
|
/external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/ |
c++98.cc | 20 thread_local, enumerator in enum:cxx11_keywords
|
/external/clang/test/CXX/class/class.friend/ |
p6.cpp | 20 friend thread_local class G; // expected-error {{'thread_local' is invalid in friend declarations}}
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 78 #define thread_local macro 163 thread_local
|
/external/clang/test/Sema/ |
thread-specifier.c | 5 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DCXX11 -D__thread=thread_local -std=c++11 -Wno-deprecated 24 // expected-error-re@-2 {{'(__thread|_Thread_local|thread_local)' is only allowed on variable declarations}} 36 // expected-error@-6 {{'thread_local' is only allowed on variable declarations}} 56 __thread register int t13a; // expected-error-re {{cannot combine with previous '(__thread|_Thread_local|thread_local)' declaration specifier}} 60 __thread typedef int t14; // expected-error-re {{cannot combine with previous '(__thread|_Thread_local|thread_local)' declaration specifier}} 67 extern thread_local int t17; // expected-note {{previous declaration is here}} 70 thread_local int t18; // expected-error {{thread-local declaration of 't18' with dynamic initialization follows declaration with static initialization}} 93 // expected-note@-6 {{use 'thread_local' to allow this}} 105 // expected-note@-4 {{use 'thread_local' to allow this}}
|
/external/chromium/testing/gtest/test/ |
gtest-port_test.cc | 946 ThreadLocal<String> thread_local; local 948 EXPECT_EQ(thread_local.pointer(), &(thread_local.get())); 951 thread_local.set("foo"); 952 EXPECT_EQ(thread_local.pointer(), &(thread_local.get())); 956 ThreadLocal<String> thread_local; local 957 const ThreadLocal<String>& const_thread_local = thread_local; 959 EXPECT_EQ(thread_local.pointer(), const_thread_local.pointer()); 961 thread_local.set("foo") 1119 ThreadLocal<DestructorTracker> thread_local; local 1148 ThreadLocal<DestructorTracker> thread_local; local 1174 ThreadLocal<String> thread_local; local [all...] |
/external/gtest/test/ |
gtest-port_test.cc | 966 ThreadLocal<String> thread_local; local 968 EXPECT_EQ(thread_local.pointer(), &(thread_local.get())); 971 thread_local.set("foo"); 972 EXPECT_EQ(thread_local.pointer(), &(thread_local.get())); 976 ThreadLocal<String> thread_local; local 977 const ThreadLocal<String>& const_thread_local = thread_local; 979 EXPECT_EQ(thread_local.pointer(), const_thread_local.pointer()); 981 thread_local.set("foo") 1139 ThreadLocal<DestructorTracker> thread_local; local 1168 ThreadLocal<DestructorTracker> thread_local; local 1194 ThreadLocal<String> thread_local; local [all...] |
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 36 int thread_local; // expected-warning {{'thread_local' is a keyword in C++11}} variable
|
/external/clang/test/Parser/ |
cxx0x-decl.cpp | 57 thread_local tl;
|
/external/clang/test/Analysis/ |
temporaries.cpp | 153 thread_local static const Trivial &threadRef = getTrivial(); 156 thread_local static const Trivial &threadDirectRef = Trivial(42);
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 19 thread_local int tl; // expected-note {{refers here}}
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p3.cpp | 145 thread_local constexpr int n = 123; // expected-error {{thread_local variable not permitted in a constexpr function}}
|
/external/clang/test/Misc/ |
ast-dump-decl.cpp | 95 thread_local int TestThreadLocalInt;
|
/external/llvm/utils/vim/ |
llvm.vim | 56 syn keyword llvmKeyword tail target thread_local to triple unnamed_addr
|
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 500 KEYWORD(thread_local);
|
/external/llvm/test/Bindings/Ocaml/ |
vmcore.ml | 445 (* CHECK: GVar04{{.*}}thread_local [all...] |