blob: 924164cfe38385c7190b0d4c4e7a0bc6de6ed9e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff --git a/main.cpp b/main.cpp
index c16fbc3..aa153d0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -31,6 +31,12 @@ static bool IsSourceFile(const filesystem::path &path)
, ".c++"
, ".cs"
, ".java"
+ , ".h"
+ , ".hh"
+ , ".hpp"
+ , ".hp"
+ , ".hxx"
+ , ".h++"
};
string ext = path.extension().string();
transform(ext.begin(), ext.end(), ext.begin(), [](unsigned char ch) { return static_cast<decltype(ext)::value_type>(tolower(ch)); });
|