Fix resetboring's failure to spot hspace-only changes


The 6.7 review for QSql included a file where all that had changed was
some s/Type& name/Type &name/ fixes. This arose because there was no
other change to the lines in question and the initial scan of the new
lines thus concluded nothing boring had changed, so there was no point
recording the line for comparison to old lines. Retain at least one
representation of each non-trivial line to match, so that we do catch
cases where the only boring change is to spacing. Package the
non-trivial line check (previously used when reversing strip) in a
function since we're reusing it; and include backslash in its list of
trivia, since that arises in trivial lines of a macro body.

Change-Id: I10443bd1494932696f176f90b663035a772ca805
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
commit2a80de47cdc1933777bd5848584017a3fffdbf28
parent02c13d9e1d85e74142f3ff71f40739e7e81d1ad1
authorEdward Welbourne <edward.welbourne@qt.io>
committerEdward Welbourne <edward.welbourne@qt.io>
commit timeMon, 19 Feb 2024 17:28:40 +0100