[clang] [clang] Fix parenthesized list initialization of arrays not working with `new` (PR #76976)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 12:01:10 PST 2024


efriedma-quic wrote:

Have you considered the following case?

```
  void foo() {
    char* arr = new char[]("asdf");
  }
```

https://github.com/llvm/llvm-project/pull/76976


More information about the cfe-commits mailing list