llvm-project
5f70043a - [clang] Fix filler handling for new expression with unspecified bound. (#182203)

Commit
51 days ago
[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.
Author
Parents
Loading