Add support for .c++ files ( Debian Bug#512060: cppcheck: refuses to
check .c++ files )
This commit is contained in:
parent
a39eaec1cc
commit
449dcc2a60
|
@ -98,7 +98,8 @@ bool FileLister::AcceptFile(const std::string &filename)
|
||||||
if (extension == ".cpp" ||
|
if (extension == ".cpp" ||
|
||||||
extension == ".cxx" ||
|
extension == ".cxx" ||
|
||||||
extension == ".cc" ||
|
extension == ".cc" ||
|
||||||
extension == ".c")
|
extension == ".c" ||
|
||||||
|
extension == ".c++")
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue