[clang] [clang] Fix filler handling for new expression with unspecified bound. (PR #182203)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 19 10:04:26 PST 2026
================
@@ -2206,8 +2206,9 @@ ExprResult Sema::BuildCXXNew(SourceRange Range, bool UseGlobal,
<< /*array*/ 2
<< (*ArraySize ? (*ArraySize)->getSourceRange() : TypeRange));
- InitializedEntity Entity
- = InitializedEntity::InitializeNew(StartLoc, AllocType);
+ InitializedEntity Entity =
+ InitializedEntity::InitializeNew(StartLoc, AllocType,
+ /*VariableLengthArrayNew*/ false);
----------------
efriedma-quic wrote:
Done
https://github.com/llvm/llvm-project/pull/182203
More information about the cfe-commits
mailing list