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

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 29 08:55:39 PST 2024


https://github.com/PiotrZSL requested changes to this pull request.

1. Consider TK_IgnoreUnlessSpelledInSource, may simplify matchers
2. Name is too generic, consider:
 - bugprone-smartptr-reset-pointee-reset
 - bugprone-smartptr-reset-call
 - bugprone-smartptr-pointee-reset
 - bugprone-smartptr-reset-ambiguous-call (my prefered)

Or any simillar.

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


More information about the cfe-commits mailing list