[clang-tools-extra] [clang-tidy] Add bugprone-smartptr-reset-ambiguous-call check (PR #121291)
Piotr Zegar via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 15 03:36:28 PST 2025
https://github.com/PiotrZSL commented:
1. Overall ok, please work a little bit on an warning message.
2. Probably better name would be: readability-ambiguous-smartptr-reset-call
3. Same issue exist on other objects like std::optional, and other methods like std::optional<std::set> and call to `emplace`. Maybe more checks or more generic check could be constructed where configuration is an pair of "object" and "method".
Consider points 1 & 2. And after that it could be delivered.
https://github.com/llvm/llvm-project/pull/121291
More information about the cfe-commits
mailing list