<Replicating what I've already said on the mailing list>
I understand why you needed this patch because I have a similar one in my changeset 
But, quite frankly, I think this is nowhere near enough. The C++ world is a mess and far too heterogeneous to attempt to
satisfy everyone with one set of file name extensions. For example, in the project I have currently to work with, "*.C" means "C++" and
"*.cxx" means "autogenerated C++", the ".h"-files correspond to the ".C"-files and ".hpp"-files correspond to the ".cxx",
and there are chances that you dont wanna analyze the automatically generated stuff at all. And I dont doubt a second, that there
are code bases out there where the situation is exactly the opposite.
Therefore we should have a configuration option for this, IMO. And this list should serve as fallback if there's nothing configured.
What do you think?
<Replicating what I've already said on the mailing list>
I understand why you needed this patch because I have a similar one in my changeset
But, quite frankly, I think this is nowhere near enough. The C++ world is a mess and far too heterogeneous to attempt to
satisfy everyone with one set of file name extensions. For example, in the project I have currently to work with, "*.C" means "C++" and
"*.cxx" means "autogenerated C++", the ".h"-files correspond to the ".C"-files and ".hpp"-files correspond to the ".cxx",
and there are chances that you dont wanna analyze the automatically generated stuff at all. And I dont doubt a second, that there
are code bases out there where the situation is exactly the opposite.
Therefore we should have a configuration option for this, IMO. And this list should serve as fallback if there's nothing configured.
What do you think?