================
@@ -415,3 +456,38 @@ void CIRRecordLowering::lowerUnion() {
if (layoutSize % getAlignment(storageType))
packed = true;
}
+
+void CIRRecordLowering::accumulateBases(const CXXRecordDecl *cxxRecordDecl) {
+ // If we've got a primary virtual base, we need to add it with the bases.
+ if (astRecordLayout.isPrimaryBaseVirtual()) {
+ cirGenTypes.getCGModule().errorNYI(recordDecl->getSourceRange(),
+ "accumulateBases: primary virtual
base");
+ }
----------------
andykaylor wrote:
I thought it would be better to fall through. The result won't be correct, but
it will be more likely to allow compilation to continue than if we return here.
https://github.com/llvm/llvm-project/pull/142823
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits