Home | History | Annotate | Download | only in SemaCXX

Lines Matching refs:Virtual

10 // - single, multiple, and virtual inheritance (and unspecified for incomplete)
28 // Unspecified is weird, it's 1 more slot than virtual.
45 // more slot than virtual. It's not clear what it's used for yet.
55 struct Virtual : virtual B1 { };
58 static_assert(sizeof(int Virtual::*) == kVirtualDataSize, "");
61 static_assert(sizeof(void (Virtual::*)()) == kVirtualFunctionSize, "");
82 static_assert(sizeof(int Y<Virtual>::*) == kVirtualDataSize, "");
85 static_assert(sizeof(void (Y<Virtual>::*)()) == kVirtualFunctionSize, "");
88 struct B : A { virtual void foo(); };
94 struct AA { int x; virtual void foo(); };
96 struct CC : BB { virtual void baz(); };
112 virtual void foo();
115 virtual void foo();
167 int Virtual::*CastTest = reinterpret_cast<int Virtual::*>(&AA::x);