================
@@ -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);
----------------
tbaederr wrote:
```suggestion
/*VariableLengthArrayNew=*/ false);
```
https://github.com/llvm/llvm-project/pull/182203
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits