[clang-tools-extra] [clang-tidy] Fix assignment-in-if-condition false positive in statement expressions (PR #231704)

via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 15 00:18:50 PDT 2026


mark-zilber wrote:

> Could we add tests for nested statement expressions and overloaded `operator=`?

Added your three examples (f9, f10, awesome_f7) and the same three with an overloaded operator= (f11, f12, awesome_f8)





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


More information about the cfe-commits mailing list