[clang-tools-extra] [clang-tidy] Fix false positive in modernize-make-unique (PR #229802)

Daniil Dudkin via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 16 16:52:08 PDT 2026


unterumarmung wrote:

Can we fix the same behaviour for public deleted constructors?

Also I think we should have a test like:
```cpp
using Alias = DerivedWithPrivateDestructor;
p.reset(new Alias);
```
and also test for `unique_ptr` constructor matcher

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


More information about the cfe-commits mailing list