serge-sans-paille wrote:

> Can we fix the same behaviour for public deleted constructors?
> 
> Also I think we should have a test like:
> 
> ```c++
> using Alias = DerivedWithPrivateDestructor;
> p.reset(new Alias);
> ```

Done

> and also test for `unique_ptr` constructor matcher

That's out of scope for this bugfix, but good candidate for a follow-up :-)



https://github.com/llvm/llvm-project/pull/229802
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to