diff options
author | Andy Kaylor <akaylor@nvidia.com> | 2025-04-14 14:40:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-14 14:40:19 -0700 |
commit | cd7d2c3bf89c9f0e6b7467d9d5ac87ddc829975c (patch) | |
tree | 9972dba79c98570f5455adea9192d647daa37080 /clang/lib/CIR/CodeGen/CIRGenModule.cpp | |
parent | 557e931d958104eb5d11b93ad3a21e4017812fcd (diff) | |
download | llvm-cd7d2c3bf89c9f0e6b7467d9d5ac87ddc829975c.zip llvm-cd7d2c3bf89c9f0e6b7467d9d5ac87ddc829975c.tar.gz llvm-cd7d2c3bf89c9f0e6b7467d9d5ac87ddc829975c.tar.bz2 |
[CIR] Upstream minimal support for structure types (#135105)
This change adds minimal support for structure types. To keep the
initial change small, only incomplete declarations are being supported
in this patch. More complete support will follow.
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
-rw-r--r-- | clang/lib/CIR/CodeGen/CIRGenModule.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CIR/CodeGen/CIRGenModule.cpp b/clang/lib/CIR/CodeGen/CIRGenModule.cpp index fd11523..ddcdc0d 100644 --- a/clang/lib/CIR/CodeGen/CIRGenModule.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenModule.cpp @@ -589,6 +589,11 @@ void CIRGenModule::emitTopLevelDecl(Decl *decl) { case Decl::OpenACCDeclare: emitGlobalOpenACCDecl(cast<OpenACCDeclareDecl>(decl)); break; + + case Decl::Record: + case Decl::CXXRecord: + assert(!cir::MissingFeatures::generateDebugInfo()); + break; } } |