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

The isC doesn't work correctly if there are included files because then the _files.size() is bigger than 1. I would change the condition to (_files.empty())

> there's already "bool Tokenizer::code_is_c() const."

This was my first reaction too. Thanks for pointing this out.

> Tokenize uses isJavaOrCSharp method so why not to have isC, isCPP methods.

I agree that it makes more sense with "isC" and "isCPP". Thank you.