summarylogtreecommitdiffstats
path: root/add-comments-to-headers-too.patch
blob: bc75d2ff39c749a5b95c722a13d8d029a4ea729e (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 ce0dea0..cb729de 100644
--- a/main.cpp
+++ b/main.cpp
@@ -30,6 +30,12 @@ static bool IsSourceFile(const filesystem::path &path)
     , ".cxx"
     , ".c++"
     , ".cs"
+    , ".h"
+    , ".hh"
+    , ".hpp"
+    , ".hp"
+    , ".hxx"
+    , ".h++"
   };
   string ext = path.extension().string();
   transform(ext.begin(), ext.end(), ext.begin(), [](char ch){return tolower(ch);});