parent
bbde3cc23a
commit
ccb2f2ce6a
18
lib/path.cpp
18
lib/path.cpp
|
@ -252,15 +252,15 @@ bool Path::isCPP(const std::string &path)
|
||||||
{
|
{
|
||||||
const std::string extension = getFilenameExtensionInLowerCase(path);
|
const std::string extension = getFilenameExtensionInLowerCase(path);
|
||||||
return extension == ".cpp" ||
|
return extension == ".cpp" ||
|
||||||
extension == ".cxx" ||
|
extension == ".cxx" ||
|
||||||
extension == ".cc" ||
|
extension == ".cc" ||
|
||||||
extension == ".c++" ||
|
extension == ".c++" ||
|
||||||
extension == ".hpp" ||
|
extension == ".hpp" ||
|
||||||
extension == ".hxx" ||
|
extension == ".hxx" ||
|
||||||
extension == ".hh" ||
|
extension == ".hh" ||
|
||||||
extension == ".tpp" ||
|
extension == ".tpp" ||
|
||||||
extension == ".txx" ||
|
extension == ".txx" ||
|
||||||
getFilenameExtension(path) == ".C"; // In unix, ".C" is considered C++ file
|
getFilenameExtension(path) == ".C"; // In unix, ".C" is considered C++ file
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Path::acceptFile(const std::string &path, const std::set<std::string> &extra)
|
bool Path::acceptFile(const std::string &path, const std::set<std::string> &extra)
|
||||||
|
|
Loading…
Reference in New Issue