[clang-tools-extra] [clang-tidy] Add bugprone-smartptr-reset-ambiguous-call check (PR #121291)
Julian Schmidt via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 30 04:37:10 PST 2024
================
@@ -0,0 +1,34 @@
+.. title:: clang-tidy - bugprone-smartptr-reset-ambiguous-call
+
+bugprone-smartptr-reset-ambiguous-call
+======================================
+
+Finds potentially erroneous calls to ``reset`` method on
+smart pointers when the pointee type also has a ``reset`` method.
+Having ``reset`` method in both classes makes it easy to accidentally
----------------
5chmidti wrote:
`Having a`
https://github.com/llvm/llvm-project/pull/121291
More information about the cfe-commits
mailing list