================
@@ -5628,6 +5628,11 @@ class DesignatedInitExpr final
FieldInfo.NameOrField = reinterpret_cast<uintptr_t>(FD);
}
+ void clearFieldDecl() {
+ assert(isFieldDesignator() && "Only valid on a field designator");
----------------
erichkeane wrote:
Why is this necessary? The fact that we need this is probably meaning we're
doing something VERY wrong.
https://github.com/llvm/llvm-project/pull/167159
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits