summaryrefslogtreecommitdiffstats
path: root/iwyu_path_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'iwyu_path_util.cc')
-rw-r--r--iwyu_path_util.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/iwyu_path_util.cc b/iwyu_path_util.cc
index f28d658..cc8eed6 100644
--- a/iwyu_path_util.cc
+++ b/iwyu_path_util.cc
@@ -94,6 +94,7 @@ string GetCanonicalName(string file_path) {
file_path = NormalizeFilePath(file_path);
bool stripped_ext = StripRight(&file_path, ".h")
+ || StripRight(&file_path, ".H")
|| StripRight(&file_path, ".hpp")
|| StripRight(&file_path, ".hxx")
|| StripRight(&file_path, ".hh")