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

Kimmo Varis wrote:
>> I think the best argument against Java/C# support in Cppcheck is that it can hurt C++ support.
>>
> That myth is already debunked several times in this very thread. Just see again where this thread started!
>
The whole reason this thread started is because C# support was being
added to C++ parsing code. That means the C++ parser was doing
unnecessary work for most users. I want to stop this practice now
before it becomes common place and impossible to remove.

C# code processing should be handled in a separate function and only
when processing C# files. It is totally unacceptable for C++ parsers to
have to deal with C# code. It's a waste of CPU and developer resources
for something that is probably not even used.

If we must process C# and java code, it should have no impact whatsoever
on processing C and C++ code because the majority of users of cppcheck
will be checking C and C++ code exclusively.