From https://trac.cppcheck.net/ticket/14368: ~~~c++ struct S { int i; }; void f(double d, S s) { if (d != 0. and s.i) {} } ~~~ ~~~ if ( d != 0.and s . i ) { } ~~~