Merge pull request #79980 from hborla/closure-body-macro

[Macros] Implement support for function body macros on closures.
This commit is contained in:
Holly Borla
2025-03-21 06:19:36 -07:00
committed by GitHub
20 changed files with 593 additions and 62 deletions

View File

@@ -4486,7 +4486,7 @@ NodePointer Demangler::demangleMacroExpansion() {
context = popContext();
NodePointer discriminator = demangleIndexAsNode();
NodePointer result;
if (isAttached) {
if (isAttached && attachedName) {
result = createWithChildren(
kind, context, attachedName, macroName, discriminator);
} else {