[clang] [Clang] support storage-class specifiers in C23 compound literals (PR #212559)
Oleksandr Tarasiuk via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 07:32:36 PDT 2026
================
@@ -1360,8 +1360,10 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
else
Ty = VD->getType();
- if (Ty->isVariablyModifiedType())
+ if (Ty->isVariablyModifiedType()) {
+ RunCleanupsScope Scope(*this);
----------------
a-tarasyuk wrote:
I removed the local `RunCleanupsScope`
https://github.com/llvm/llvm-project/pull/212559
More information about the cfe-commits
mailing list