[clang] [Clang] Fix Microsoft ABI inheritance model when member pointer is used in a base specifier (PR #91990)
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 17 15:36:33 PDT 2024
================
@@ -215,6 +215,14 @@ struct NewUnspecified;
SingleTemplate<void (IncSingle::*)()> tmpl_single;
UnspecTemplate<void (NewUnspecified::*)()> tmpl_unspec;
+// Member pointers used in base specifiers force an unspecified inheritance model
+struct MemPtrInBase : UnspecTemplate<void (MemPtrInBase::*)()> {};
----------------
rnk wrote:
I guess this memptr type is not required to be complete during the parsing of the base specifiers here.
https://github.com/llvm/llvm-project/pull/91990
More information about the cfe-commits
mailing list