[clang] Reapply "[Clang][Sema] placement new initializes typedef array with correct size (#83124)" (PR #89036)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 19 00:20:45 PDT 2024
mahtohappy wrote:
Check is for dependent types and earlier I was not checking that with the condition being only
```if (ArraySize)``` so normal arrays with new initializer also were passing the check.
Now added the dependent type check as well
```if (ArraySize && E->isTypeDependent())```
https://github.com/llvm/llvm-project/pull/89036
More information about the cfe-commits
mailing list