summaryrefslogtreecommitdiffstats
path: root/fix_includes.py
diff options
context:
space:
mode:
Diffstat (limited to 'fix_includes.py')
-rwxr-xr-xfix_includes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix_includes.py b/fix_includes.py
index ace85f1..6bfdf77 100755
--- a/fix_includes.py
+++ b/fix_includes.py
@@ -1437,7 +1437,7 @@ def _IsMainCUInclude(line_info, filename):
return False
# First, normalize the includee by getting rid of -inl.h and .h
# suffixes (for the #include) and the "'s around the #include line.
- canonical_include = re.sub(r'(-inl\.h|\.h)$',
+ canonical_include = re.sub(r'(-inl\.h|\.h|\.H)$',
'', line_info.key.replace('"', ''))
# Then normalize includer by stripping extension and Google's test suffixes.
canonical_file, _ = os.path.splitext(filename)