• Home
  • Raw
  • Download

Lines Matching refs:Derived

6 struct Derived : Base { }; // expected-note{{candidate constructor (the implicit copy constructor) …  struct
12 struct Diamond : Derived, Derived2 { };
19 operator Derived&() const;
23 operator Derived&(); // expected-note{{candidate function}}
36 operator Derived() const;
40 operator Derived(); // expected-note{{candidate function}}
51 void bind_lvalue_to_lvalue(Base b, Derived d, in bind_lvalue_to_lvalue()
52 const Base bc, const Derived dc, in bind_lvalue_to_lvalue()
58 Derived &dr1 = d; in bind_lvalue_to_lvalue()
59Derived &dr2 = b; // expected-error{{non-const lvalue reference to type 'Derived' cannot bind to a… in bind_lvalue_to_lvalue()
67 void bind_lvalue_quals(volatile Base b, volatile Derived d, in bind_lvalue_quals()
68 volatile const Base bvc, volatile const Derived dvc, in bind_lvalue_quals()
83 …Base &br2 = Derived(); // expected-error{{non-const lvalue reference to type 'Base' cannot bind to… in bind_lvalue_to_rvalue()
85 …const volatile Base &br4 = Derived(); // expected-error{{volatile lvalue reference to type 'const … in bind_lvalue_to_rvalue()
99 Derived &ndr1 = ConvertibleToDerivedRef(); in bind_lvalue_to_conv_lvalue()
104 Derived &dr1 = both; in bind_lvalue_to_conv_lvalue_ambig()
120 const Base &br2 = create<Derived>(); in bind_const_lvalue_to_rvalue()
121 const Derived &dr1 = create<Base>(); // expected-error{{no viable conversion}} in bind_const_lvalue_to_rvalue()
124 const Base &br4 = create<const Derived>(); in bind_const_lvalue_to_rvalue()
127 …const Base &br6 = create<const volatile Derived>(); // expected-error{{binding value of type 'cons… in bind_const_lvalue_to_rvalue()
138 const Derived &dr1 = both; in bind_lvalue_to_conv_rvalue_ambig()