[PATCH] Thread the info about vbptr sharing through ASTRecordLayout

Timur Iskhodzhanov timurrrr at google.com
Fri Nov 8 03:50:25 PST 2013


  Landed as r194256.


================
Comment at: include/clang/AST/RecordLayout.h:263
@@ -258,3 +262,3 @@
     assert(CXXInfo && "Record layout does not have C++ specific info!");
     return CXXInfo->HasOwnVBPtr;
   }
----------------
Reid Kleckner wrote:
> This can be hasVBPtr() && !BaseSharingVBPtr.
Great catch!


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



More information about the cfe-commits mailing list