On Apr 30, 2013, at 4:44 PM, Reid Kleckner <[email protected]> wrote:
>    - Don't regress users that have unused memptrs in globals.
>    - Fix Joao's comments and a bug.

   if (hasVBPtrOffsetField(Inheritance)) {
     int64_t VBPtrOffset =
       getContext().getASTRecordLayout(RD).getVBPtrOffset().getQuantity();
+    if (VBPtrOffset == -1)
+      VBPtrOffset = 0;

This really needs a comment.

Otherwise seems fine.

John.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to