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

>> My secret goal of getting all the C# and java support into a single function is so it could be deleted someday.
> I think it sounds good to separate the C# and java handling.

To make it clear. I still don't want to remove this support.

I think the best argument against Java/C# support in Cppcheck is that it can hurt C++ support. If some sacrifice must be made then Java/C# support must be sacrificed - it is not acceptable to sacrifice C++.

Therefore it's a good idea to separate the handling. By moving java / c# simplifications into separate functions it will be easier to see if these sacrifices C++ support somehow.