Home | History | Annotate | Download | only in class.virtual

Lines Matching refs:final

52   virtual void f() const final; // expected-note {{overridden virtual function is here}}
56 void f() const; // expected-error {{declaration of 'f' overrides a 'final' function}}
68 void h() final;
72 void i() final; // expected-error {{only virtual member functions can be marked 'final'}}
77 void i() final;
81 virtual void i() final;
86 void h(T...) final;
87 void i(T...) final; // expected-error {{only virtual member functions can be marked 'final'}}
94 void h() final;
98 void i() final; // expected-error {{only virtual member functions can be marked 'final'}}
126 virtual void f() final;
128 // expected-error@-20 {{declaration of 'f' overrides a 'final' function}}
145 void bar(long double) final; // expected-error {{non-virtual member function marked 'final' hides virtual member functions}}