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); 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)