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

Actually not even on Windows. You could have the openfoam code on Windows. Using the extension type to determine the language is just a guess. This code or any code that uses the file extension is inconclusive because the user can specify any file extension they want.