[PATCH] Microsoft Layout - Empty non-virtual base after base with vbptr

Reid Kleckner rnk at google.com
Tue Nov 12 11:31:20 PST 2013


  LGTM with another test, if it hits this code path.

  Grumble grumble special cases like this are awesome.


================
Comment at: test/Layout/ms-x86-empty-base-after-base-with-vbptr.cpp:10
@@ +9,3 @@
+struct W { };
+struct X : virtual V { char a; };
+struct Y : virtual V { char a; };
----------------
What happens when this contains a short, two chars, or a char bitfield?


http://llvm-reviews.chandlerc.com/D2106



More information about the cfe-commits mailing list