Lines Matching refs:Base1
3 struct Base1 { struct
11 struct Derived1 final : Base1 { argument
15 struct Derived2 final : Base1, Base2 {
19 struct Derived3 : Base1 {
23 struct Derived4 final : Base1 {
38 static_cast<Base1 *>(&d1)->f1(); //< Devirt Base1::f1 to Derived1::f1. in t1()
46 static_cast<Base1 *>(&d2)->f1(); //< Devirt Base1::f1 to Derived2::f1. in t2()
61 Base1 p; in t4()
66 static_cast<Base1 *>(badp)->f1(); //< No devirt, test 'badp isa Base1'. in t4()
78 Base1 p; in t5()
83 static_cast<Base1 *>(badp)->f1(); //< Devirt Base1::f1 to Derived4::f1. in t5()