OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:InnerTemplate
(Results
1 - 5
of
5
) sorted by null
/external/clang/test/SemaTemplate/
ms-sizeof-missing-typename.cpp
32
// expected-warning@+2 {{use 'template' keyword to treat '
InnerTemplate
' as a dependent template name}}
34
x1 = sizeof(typename T::/*template*/
InnerTemplate
<sizeof(/*typename*/ T::InnerType)>),
36
x2 = sizeof(typename T::template
InnerTemplate
<sizeof(/*typename*/ T::InnerType)>),
37
// expected-warning@+1 {{use 'template' keyword to treat '
InnerTemplate
' as a dependent template name}}
38
y1 = sizeof(typename T::/*template*/
InnerTemplate
<sizeof(T::InnerVar)>),
39
y2 = sizeof(typename T::template
InnerTemplate
<sizeof(T::InnerVar)>),
40
z = sizeof(T::template
InnerTemplate
<sizeof(T::InnerVar)>::x),
45
struct
InnerTemplate
{ int x[N]; };
instantiate-declref.cpp
6
struct
InnerTemplate
{
17
Outer::Inner::
InnerTemplate
<type>::VeryInner::Kind2 = K2Val;
25
Outer::Inner::
InnerTemplate
<type>::VeryInner::Kind2 = K2Val;
27
InnerTemplate
t;
28
InnerTemplate
<type> t2;
38
template struct N::Outer::Inner::
InnerTemplate
<INT>::VeryInner;
39
template struct N::Outer::Inner::
InnerTemplate
<INT>::UeberInner; // expected-error{{no struct named 'UeberInner' in 'N::Outer::Inner::
InnerTemplate
<int>'}}
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
p2.cpp
62
struct
InnerTemplate
: public T { }; // expected-note 2{{explicitly specialized}} \
179
struct X0<void*>::
InnerTemplate
<int> { };
182
struct X0<int>::
InnerTemplate
<int>; // expected-note{{forward declaration}}
185
struct X0<int>::
InnerTemplate
<long>;
188
struct X0<int>::
InnerTemplate
<double>;
192
struct N0::X0<int>::
InnerTemplate
<long> { }; // okay
195
struct N0::X0<int>::
InnerTemplate
<float> { }; // expected-warning{{class template specialization}}
199
struct N0::X0<int>::
InnerTemplate
<double> { }; // expected-error{{enclosing}}
202
N0::X0<void*>::
InnerTemplate
<int> inner_template0;
203
N0::X0<int>::
InnerTemplate
<int> inner_template1; // expected-error{{incomplete}
[
all
...]
p1.cpp
40
struct
InnerTemplate
: public T { };
82
struct X0<void*>::
InnerTemplate
<int> { };
84
X0<void*>::
InnerTemplate
<int> inner_template0;
p2-0x.cpp
63
struct
InnerTemplate
: public T { }; // expected-note 1{{explicitly specialized}} \
218
struct X0<void*>::
InnerTemplate
<int> { };
221
struct X0<int>::
InnerTemplate
<int>; // expected-note{{forward declaration}}
224
struct X0<int>::
InnerTemplate
<long>;
227
struct X0<int>::
InnerTemplate
<double>;
231
struct N0::X0<int>::
InnerTemplate
<long> { }; // okay
234
struct N0::X0<int>::
InnerTemplate
<float> { };
238
struct N0::X0<int>::
InnerTemplate
<double> { }; // expected-error{{enclosing}}
241
N0::X0<void*>::
InnerTemplate
<int> inner_template0;
242
N0::X0<int>::
InnerTemplate
<int> inner_template1; // expected-error{{incomplete}
[
all
...]
Completed in 1099 milliseconds