Lines Matching refs:Derived
22 struct Derived : public Base { struct
23 Derived() : Base(), C(0) {} in Derived() function
40 Derived D1, *D2; in structToStruct()
42 D2 = (Derived *)&B1; in structToStruct()
43 D2 = dynamic_cast<Derived *>(&B1); in structToStruct()
44 D2 = static_cast<Derived *>(&B1); in structToStruct()
48 …D2 = (Derived *)&B2;// expected-warning {{Casting data to a larger structure type and accessing a … in structToStruct()
49 …D2 = dynamic_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type an… in structToStruct()
50 …D2 = static_cast<Derived *>(&B2);// expected-warning {{Casting data to a larger structure type and… in structToStruct()
55 D2 = (Derived *)B3; in structToStruct()
56 D2 = dynamic_cast<Derived *>(B3); in structToStruct()
57 D2 = static_cast<Derived *>(B3); in structToStruct()