Add support for .c++ files ( Debian Bug#512060: cppcheck: refuses to

check .c++ files )
This commit is contained in:
Reijo Tomperi 2009-01-16 20:46:41 +00:00
parent a39eaec1cc
commit 449dcc2a60
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ bool FileLister::AcceptFile(const std::string &filename)
if (extension == ".cpp" ||
extension == ".cxx" ||
extension == ".cc" ||
extension == ".c")
extension == ".c" ||
extension == ".c++")
{
return true;
}