Home | History | Annotate | Download | only in SemaTemplate

Lines Matching refs:exception

3 // DR1330: an exception specification for a function template is only
9 template<typename T> void f1(T*) throw(T); // expected-error{{incomplete type 'Incomplete' is not allowed in exception specification}}
14 f1(incomplete_p); // expected-note{{instantiation of exception spec}}
31 // expected-note 9{{instantiation of exception spec}}
33 decltype(S<0>::recurse()) *pVoid1 = 0; // ok, exception spec not needed
34 decltype(&S<0>::recurse) pFn = 0; // ok, exception spec not needed
37 void (*pFn2)() noexcept = &S<0>::recurse; // expected-note {{instantiation of exception spec}} expected-error {{not superset}}
53 // expected-note {{instantiation of exception spec}}
59 S().f<int>(); // expected-note {{instantiation of exception spec}}
102 template <typename T> void f1(T) throw(typename T::exception); // expected-note {{candidate}}
127 // If the vtable for a derived class is used, the exception specification of