[clang] [CIR] Upstream initial support for complete record types (PR #135844)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 14:24:49 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list