danmar/cppcheck — pull request #435 by simartin (2014-09-14 07:09:29+00:00)
Title: Use Token::Match instead of explicit Token::str() comparisons.

Hi,

I've noticed that we have several chains of the form "tok->str() == ... || tok->str() = ..." that can be replaced by a single call to Token::Match. This mechanical patch does this, which improves readability IMHO. Thanks to consider merging.

Cheers,
Simon