[PATCH] MS ABI: Improve selection of an inheritance model
Reid Kleckner
rnk at google.com
Thu Jan 16 11:24:55 PST 2014
================
Comment at: lib/AST/MicrosoftCXXABI.cpp:176
@@ -160,7 +175,3 @@
switch (Inheritance) {
- case MSIM_Unspecified: ++Ints; // VBTableOffset
- case MSIM_Virtual: ++Ints; // VirtualBaseAdjustmentOffset
- case MSIM_MultiplePolymorphic:
- case MSIM_Multiple: ++Ints; // NonVirtualBaseAdjustment
- case MSIM_SinglePolymorphic:
- case MSIM_Single: break; // Nothing
+ case MSInheritanceAttr::Keyword___unspecified_inheritance:
+ ++Ints; // VBTableOffset
----------------
Oh, I mentioned on IRC that these names are reserved. We should fix it in the tablegen attribute stuff eventually.
http://llvm-reviews.chandlerc.com/D2548
BRANCH
PR18479
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list