Lines Matching refs:Data

114       template<typename U> static U Data;  member
115 template<typename U> static CONST U Data<U*> = U(); // expected-note {{here}} member
120 const int c0_test = C0::Data<int*>;
122 template const int C0::Data<int*>; // expected-error {{undefined}} member in non_const_init::pointers::C0
128 template<typename U> static U Data; member
129 template<typename U> static U* Data<U*>; // Okay, with out-of-line definition member
131 template<typename T> T* C1a::Data<T*> = new T(); member in non_const_init::pointers::C1a
132 template int* C1a::Data<int*>; member in non_const_init::pointers::C1a
135 template<typename U> static U Data; member
136 template<typename U> static CONST U* Data<U*>; // Okay, with out-of-line definition member
138 template<typename T> CONST T* C1b::Data<T*> = (T*)(0); member in non_const_init::pointers::C1b
139 template CONST int* C1b::Data<int*>; member in non_const_init::pointers::C1b
142 template<typename U> static int Data; member
143 …template<typename U> static U* Data<U*> = new U(); // expected-error {{non-const static data mem… member
145 …template int* C2a::Data<int*>; // expected-note {{in instantiation of static data member 'non_cons… member in non_const_init::pointers::C2a
148 template<typename U> static int Data; member
149 …template<typename U> static U *const Data<U*> = (U*)(0); // expected-error {{static data member of… member
151 template<typename U> U *const C2b::Data<U*>; member in non_const_init::pointers::C2b
152 …template int *const C2b::Data<int*>; // expected-note {{in instantiation of static data member 'no… member in non_const_init::pointers::C2b
179 template<typename U> static U Data; // expected-note {{here}} member in in_class_template::D0
180 template<typename U> static CONST U Data<U*> = U(); member in in_class_template::D0
182 template CONST int D0<float>::Data<int*>; member in in_class_template::D0
183 template int D0<float>::Data<int>; // expected-error {{undefined}} member in in_class_template::D0
184 template<typename T> template<typename U> const U D0<T>::Data<U*>; member in in_class_template::D0<T>
188 template<typename U> static U Data; member in in_class_template::D1
189 template<typename U> static U* Data<U*>; member in in_class_template::D1
192 template<typename U> U* D1<T>::Data<U*> = (U*)(0); member in in_class_template::D1<T>
193 template int* D1<float>::Data<int*>; // expected-note {{previous}} member in in_class_template::D1
194 template int* D1<float>::Data<int*>; // expected-error {{duplicate explicit instantiation}} member in in_class_template::D1
198 template<typename U> static U Data; member in in_class_template::D2
199 template<typename U> static U* Data<U*>; member in in_class_template::D2
202 template<typename U> U* D2<float>::Data<U*> = (U*)(0) + 1; member in in_class_template::D2<float>
203 template int* D2<float>::Data<int*>; // expected-note {{previous}} member in in_class_template::D2
204 template int* D2<float>::Data<int*>; // expected-error {{duplicate explicit instantiation}} member in in_class_template::D2
208 template<typename U> static CONST U Data = U(100); // expected-note {{here}} member
210 static_assert(D3<float>::Data<int> == 100, "");
211 template const char D3<float>::Data<char>; // expected-error {{undefined}} member in in_class_template::D3
216 template<typename U> static U Data; member in in_class_template::bug_files::D0a
217 …template<typename U> static CONST U Data<U*> = U(10); // expected-note {{previous declaration is … member in in_class_template::bug_files::D0a
220 …template<typename U> U D0a<float>::Data<U*> = U(100); // expected-error {{redefinition of 'Data'}} member in in_class_template::bug_files::D0a<float>
230 template<typename U> static U Data; member in in_class_template::bug_files::D1
231 …template<typename U> static CONST U Data<U*> = U(10); // expected-note {{previous declaration is … member in in_class_template::bug_files::D1
234 template<typename U> U D1<float>::Data = U(10); member in in_class_template::bug_files::D1<float>
236 … template<typename U> U D1<float>::Data<U*> = U(100); // expected-error{{redefinition of 'Data'}} member in in_class_template::bug_files::D1<float>