Home
last modified time | relevance | path

Searched refs:HasCtor (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/test/SemaCXX/
Ddeclspec-thread.cpp15 struct HasCtor { HasCtor(); int x; }; argument
17 __declspec(thread) HasCtor f;
19 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{t…
26 __declspec(thread) HasCtor g; // expected-error {{must be a constant expression}} expected-note {{t…
Dcompound-literal.cpp25 struct HasCtor { struct
26 HasCtor(int x, int y);
63 (void)(HasCtor){1, 2}; in test()
/external/clang/test/SemaCXX/
Ddeclspec-thread.cpp15 struct HasCtor { HasCtor(); int x; }; struct
17 __declspec(thread) HasCtor f;
19 __declspec(thread) HasCtor f; // expected-error {{must be a constant expression}} expected-note {{t…
26 __declspec(thread) HasCtor g; // expected-error {{must be a constant expression}} expected-note {{t…
Dcompound-literal.cpp25 struct HasCtor { struct
26 HasCtor(int x, int y);
53 (void)(HasCtor){1, 2}; in test()
/external/llvm-project/clang/test/Sema/
Dthread-specifier.c124 struct HasCtor { struct
125 HasCtor();
127 __thread HasCtor var_with_ctor; // thread-local-warning {{'_Thread_local' is a C11 extension}}
/external/clang/test/Sema/
Dthread-specifier.c111 struct HasCtor { struct
112 HasCtor();
114 __thread HasCtor var_with_ctor;
/external/clang/test/Analysis/
Dtemporaries.cpp86 struct HasCtor { struct
87 HasCtor(int x, int y) : x(x), y(y) {} in HasCtor() argument
105 clang_analyzer_eval(((HasCtor){1, 42}).y == 42); // expected-warning{{TRUE}} in test()
/external/llvm-project/clang/test/Analysis/
Dtemporaries.cpp108 struct HasCtor { struct
109 HasCtor(int x, int y) : x(x), y(y) {} in HasCtor() argument
127 clang_analyzer_eval(((HasCtor){1, 42}).y == 42); // expected-warning{{TRUE}} in test()