Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:default

6   non_copiable() = default;
13 non_const_copy() = default; // expected-note {{not viable}}
15 non_const_copy::non_const_copy(non_const_copy&) = default; // expected-note {{not viable}}
16 non_const_copy& non_const_copy::operator = (non_const_copy&) & = default; // expected-note {{not viable}}
17 non_const_copy& non_const_copy::operator = (non_const_copy&) && = default; // expected-note {{not viable}}
28 const non_const_copy cncc1; // expected-error {{default initialization of an object of const type 'const non_const_copy' requires a user-provided default constructor}}
34 non_const_derived(const non_const_derived&) = default; // expected-error {{requires it to be non-const}}
35 non_const_derived& operator =(non_const_derived&) = default;
39 bad_decls(volatile bad_decls&) = default; // expected-error {{may not be volatile}}
40 bad_decls&& operator = (bad_decls) = default; // expected-error {{lvalue reference}} expected-error {{must return 'bad_decls &'}}
41 bad_decls& operator = (volatile bad_decls&) = default; // expected-error {{may not be volatile}}
42 bad_decls& operator = (const bad_decls&) const = default; // expected-error {{may not have 'const', 'constexpr' or 'volatile' qualifiers}}
59 except_spec_d_good::~except_spec_d_good() = default;
61 ~except_spec_d_good2() = default;
68 except_spec_d_bad::~except_spec_d_bad() noexcept = default;
73 except_spec_d_mismatch() throw(A) = default;
76 except_spec_d_match() throw(A, B) = default;
79 // gcc-compatibility: allow attributes on default definitions
82 S::S() __attribute((pure)) = default;