================
@@ -5495,14 +5495,12 @@ static void TryOrBuildParenListInitialization(
         return;
     }
     //   ...and value-initialized for each k < i <= n;
-    if (ArrayLength > Args.size()) {
----------------
efriedma-quic wrote:

What is this change supposed to do?

The existing code is intentionally trying to avoid creating an array filler if 
it won't be used (so, for example, the code will compile if the default 
constructor is deleted).

https://github.com/llvm/llvm-project/pull/76976
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to