danmar/cppcheck — comment on commit 612b3c59ca85d5f33f30ab0c4ce2457567962ea8
File:  line 0
By danmar:

It seems to me that there is a subtle difference how Token::eraseTokens behaves if it is given a token or a value. It would make more sense to me if these calls where the same:
Token::eraseTokens(tok, tok->tokAt(4));
Token::eraseTokens(tok, 4);

How about:
tok->deleteNext(3);
tok->deleteThis(3);