Home | History | Annotate | Download | only in SemaTemplate

Lines Matching full:template

6 template <typename T = Baz> // expected-warning {{using the undeclared type 'Baz' as a default template argument is a Microsoft extension}}
9 template struct Foo<>;
14 template <typename T = Baz> // expected-warning {{using the undeclared type 'Baz' as a default template argument is a Microsoft extension}}
21 template struct nested::Foo<>;
26 template <typename T = Baz> // expected-warning {{using the undeclared type 'Baz' as a default template argument is a Microsoft extension}}
33 template struct Outer::Foo<>;
37 template <typename T> struct Bar { T x; };
39 template <Bar<Qux> *P>
43 template struct Foo<&g>;
48 template <typename T> struct Bar { T x; };
49 template <typename T = Bar<Weber>> // expected-error {{use of undeclared identifier 'Weber'}}
53 }; // expected-error {{expected ',' or '>' in template-parameter-list}}
64 template <Zargon N> // expected-error {{unknown type name 'Zargon'}}
67 template struct Foo<4>;
71 template <typename T, Asdf> // expected-error {{unknown type name 'Asdf'}}
73 template struct Foo<int, 0>;
77 template <typename T>
79 template struct Foo<Yodel>; // expected-error {{use of undeclared identifier 'Yodel'}}
83 // Bury an undeclared type as a template argument to the type of a non-type
84 // template parameter.
85 template <typename T> struct Bar { T x; };
87 template <Bar<Xylophone> *P> // expected-error {{use of undeclared identifier 'Xylophone'}}
88 // expected-note@-1 {{template parameter is declared here}}
93 template struct Foo<&g>; // expected-error {{cannot be converted}}