astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2017-06-03 15:30:36 +02:00
parent bbde3cc23a
commit ccb2f2ce6a
1 changed files with 9 additions and 9 deletions

View File

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