[clang-tools-extra] [clang-tidy] `doesNotMutateObject`: Handle calls to member functions … (PR #94362)

Felix Berger via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 7 06:00:10 PDT 2024


fberger wrote:

> Thanks for looking into this.
> 
> > So unfortunately this change won't improve `performance-unnecessary-value-param`.
> > I can have a look at unifying both in a subsequent PR.
> 
> Simply adding comments to the tickets in question, so the information is not lost to time, would suffice for now.

Originally these checks were using the same logic to determine whether the variable was mutated. I don't know why why this was changed for one of these checks. 

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


More information about the cfe-commits mailing list