================ @@ -126,6 +130,12 @@ void CIRRecordLowering::lower() { return; } + if (isa<CXXRecordDecl>(recordDecl)) { + cirGenTypes.getCGModule().errorNYI(recordDecl->getSourceRange(), ---------------- erichkeane wrote:
Oh my! This ends up being harsher than I expected! This means no record-types in C++ at all (even ones that don't do anything). But if that is the level of support we have, I'm ok with it. I presume a soon-to-be used patch will reduce this to '!virtual && !getNumBases` etc. https://github.com/llvm/llvm-project/pull/135844 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits