Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:delete

3 int i = delete; // expected-error {{only functions can have deleted definitions}}
5 void fn() = delete; // expected-note {{candidate function has been explicitly deleted}}
8 void fn2() = delete; // expected-error {{deleted definition must be first declaration}}
10 void fn3() = delete; // expected-note {{previous definition is here}}
15 void ov(double) = delete; // expected-note {{candidate function has been explicitly deleted}}
18 WithDel() = delete; // expected-note {{'WithDel' has been explicitly marked deleted here}}
19 void fn() = delete; // expected-note {{'fn' has been explicitly marked deleted here}}
20 operator int() = delete; // expected-note {{'operator int' has been explicitly marked deleted here}}
21 void operator +(int) = delete;
23 int i = delete; // expected-error {{only functions can have deleted definitions}}
38 ~DelDtor() = delete; // expected-note 9{{here}}
42 delete [] p; // expected-error {{attempt to use a deleted function}}
59 template<typename> void test2() = delete;
62 template<typename> void test3() = delete;
67 void test4() = delete; // expected-error {{redefinition of 'test4'}}
70 DelCtor(int) = delete; // expected-note 14{{deleted}}
92 template<typename T> DelCtorTemplate(T) = delete; // expected-note {{deleted}}