[clang-tools-extra] [clang-tidy] bugprone-assert-side-effect non-const operator methods (PR #71974)

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 10 12:19:14 PST 2023


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

I'm not sure now if this wont cause too much false-positives, after all this is why CheckFunctionCalls option were added. Sometimes object can have 2 same operators, one const and one not, in such case depend on "this" type, non-const could be used, this would be false-positive.

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


More information about the cfe-commits mailing list