Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 5ad2f545aeb67979bdd01a135b5cea02f4a522a7..db1bf00eb3c6cfadd21d0e809b699d95b933283a 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -239,7 +239,7 @@ def _CheckIncludeOrder(input_api, output_api): |
warnings = [] |
for f in input_api.AffectedFiles(file_filter=FileFilterIncludeOrder): |
- if f.LocalPath().endswith(('.cc', '.h', '.mm')): |
+ if f.LocalPath().endswith(('.cc', '.cpp', '.h', '.mm')): |
changed_linenums = set(line_num for line_num, _ in f.ChangedContents()) |
warnings.extend(_CheckIncludeOrderInFile(input_api, f, changed_linenums)) |