Searched refs:NonDefaultConstructible (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dp15.cpp3 struct NonDefaultConstructible { struct
4 NonDefaultConstructible(const NonDefaultConstructible&); // expected-note{{candidate constructor}}
17 NonDefaultConstructible X<NonDefaultConstructible, long>::member;
19 NonDefaultConstructible &test(bool b) {
20 return b? X<NonDefaultConstructible, int>::member // expected-note{{instantiation}}
21 : X<NonDefaultConstructible, long>::member;
H A Dp1.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
22 template<> void f0(NonDefaultConstructible) { }
24 void test_f0(NonDefaultConstructible NDC) {
67 NonDefaultConstructible X0<NonDefaultConstructible>::member = 17;
69 NonDefaultConstructible &get_static_member() {
70 return X0<NonDefaultConstructible>::member;
H A Dp2.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
23 template<> void f0(NonDefaultConstructible) { }
25 void test_f0(NonDefaultConstructible NDC) {
115 NonDefaultConstructible X0<NonDefaultConstructible>::member;
124 NonDefaultConstructible &get_static_member() {
125 return N0::X0<NonDefaultConstructible>::member;
H A Dp2-0x.cpp9 struct NonDefaultConstructible { struct
10 NonDefaultConstructible(int);
25 template<> void f0(NonDefaultConstructible) { }
27 void test_f0(NonDefaultConstructible NDC) {
154 NonDefaultConstructible X0<NonDefaultConstructible>::member;
163 NonDefaultConstructible &get_static_member() {
164 return N0::X0<NonDefaultConstructible>::member;
/external/llvm/unittests/ADT/
H A DOptionalTest.cpp16 struct NonDefaultConstructible { struct in namespace:__anon26451
20 explicit NonDefaultConstructible(int) { function in struct:__anon26451::NonDefaultConstructible
22 NonDefaultConstructible(const NonDefaultConstructible&) { argument
25 NonDefaultConstructible &operator=(const NonDefaultConstructible&) { argument
29 ~NonDefaultConstructible() {
39 unsigned NonDefaultConstructible::CopyConstructions = 0;
40 unsigned NonDefaultConstructible::Destructions = 0;
41 unsigned NonDefaultConstructible
[all...]
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
H A Dp1.cpp51 struct NonDefaultConstructible { // expected-note{{candidate constructor (the implicit copy constructor) not viable}} struct
52 NonDefaultConstructible(int); // expected-note{{candidate constructor}}
86 NonDefaultConstructible X2<NonDefaultConstructible, int>::static_member1;
89 NonDefaultConstructible X2<int, NonDefaultConstructible>::static_member2; // expected-note{{instantiation}}

Completed in 235 milliseconds