[all-commits] [llvm/llvm-project] 5f7004: [clang] Fix filler handling for new expression wit...
Eli Friedman via All-commits
all-commits at lists.llvm.org
Fri Mar 6 10:29:53 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f70043ac22f4b1de86f1fa141859bcec3e16531
https://github.com/llvm/llvm-project/commit/5f70043ac22f4b1de86f1fa141859bcec3e16531
Author: Eli Friedman <efriedma at qti.qualcomm.com>
Date: 2026-03-06 (Fri, 06 Mar 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Sema/Initialization.h
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaCXX/new-delete.cpp
Log Message:
-----------
[clang] Fix filler handling for new expression with unspecified bound. (#182203)
Array new with a runtime bound requires an "array filler" to initialize
elements which aren't explicitly initialized. Array new with an
unspecified bound doesn't need this; the array length is a compile-time
constant. Make sure SemaInit doesn't confuse the two cases.
Fixes #81157.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list