Home | History | Annotate | Download | only in SemaTemplate

Lines Matching full:template

3 template<typename FromCl>
5 template<class ToCl>
9 template<class X, class Y>
10 void isa(const Y &Val) { return isa_impl_cl<Y>::template isa<X>(Val); }
15 // Implicit template-ids.
16 template<typename T>
18 template<typename U>
21 template<typename U>
31 // Not template-id expressions, but they almost look like it.
32 template<typename F>
37 template<int I>
46 template struct X<3>;
48 // 'template' as a disambiguator.
51 template<typename U>
54 template<typename U>
60 template<typename U>
63 template<typename U>
65 Y0::template f1<U>(0);
66 Y0::template f1(0);
67 this->template f1(0);
69 Y0::template f2<U>(0);
70 Y0::template f2(0);
72 Y0::template f3(0); // expected-error {{'f3' following the 'template' keyword does not refer to a template}}
73 Y0::template f3(); // expected-error {{'f3' following the 'template' keyword does not refer to a template}}
78 x = Y0::template f4(0); // expected-error {{assigning to 'int' from incompatible type 'void'}}
82 x = this->template f4(0); // expected-error {{assigning to 'int' from incompatible type 'void'}}