found assert() with side effect sounds exciting but not very clangy. The "found" part is implied by the very presence of the warning, no need to state it separately. I suggest side effect in assert() condition discarded in release builds as it additionally explains what exactly is wrong with the code and what consequences it may have.
Details
Details
Diff Detail
Diff Detail