[clang-tools-extra] [clang-tidy] Add bugprone-smartptr-reset-ambiguous-call check (PR #121291)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 22 00:18:11 PST 2025


vbvictor wrote:

@PiotrZSL, @denzor200 
I think we should provide 100% valid fix-its for default `SmartPointers`. That will be `std::shared_ptr`, `std::unique_ptr`, `boost::shared_ptr`. I created a note in docs that warns users about inconvenience that can happen when non-default smart pointers are specified.
May you please review one more time.
If everything is good i'd need help in merging this pr since i don't have write access to main


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


More information about the cfe-commits mailing list