[PATCH] Initialize vtorDisp in class constructors and destructors

Reid Kleckner rnk at google.com
Wed Oct 9 11:14:59 PDT 2013


  LGTM


================
Comment at: lib/CodeGen/MicrosoftCXXABI.cpp:463
@@ +462,3 @@
+void MicrosoftCXXABI::initializeHiddenVirtualInheritanceMembers(
+    CodeGenFunction &CGF, const CXXRecordDecl *RD) {
+  // In most cases, an override for a vbase virtual method can adjust
----------------
Return early if we have no virtual bases.


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



More information about the cfe-commits mailing list