Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:constructor

4    S (S);  // expected-error {{copy constructor must pass its first argument by reference}}
19 foo::foo(foo&, int = 0) { } // expected-error {{makes this constructor a copy constructor}}
20 foo::foo(int = 0) { } // expected-error {{makes this constructor a default constructor}}
21 foo::foo(const foo& = 0) { } //expected-error {{makes this constructor a default constructor}}
29 A::A(A&, int = 0) { } // expected-error {{makes this constructor a copy constructor}}
41 A::A(int a = 0, // expected-error {{makes this constructor a default constructor}}
49 B::B(const B& = B(0), // expected-error {{makes this constructor a default constructor}}
57 int = 0) { // expected-error {{makes this constructor a copy constructor}}