================
@@ -3644,29 +3644,41 @@ class MemberExpr final
}
};
-/// CompoundLiteralExpr - [C99 6.5.2.5]
+/// CompoundLiteralExpr - [C99 6.5.2.5, C23 6.5.3.6]
///
class CompoundLiteralExpr : public Expr {
+public:
+ enum class ScopeKind { Block, File, ParameterList };
----------------
a-tarasyuk wrote:
Your reading is correct. `ParameterList` was only used internally to manage
cleanup timing for compound literals in parameter bounds, not as a separate
semantic scope.
https://github.com/llvm/llvm-project/pull/212559
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits