Index: tools/clang/scripts/run_tool.py |
diff --git a/tools/clang/scripts/run_tool.py b/tools/clang/scripts/run_tool.py |
index 58a9a86570c6b3b203d5a0004ce56d04426db314..16c8cb32f5d76a6942370f4ef50a59bd8543b274 100755 |
--- a/tools/clang/scripts/run_tool.py |
+++ b/tools/clang/scripts/run_tool.py |
@@ -318,7 +318,7 @@ def main(argv): |
else: |
filenames = set(_GetFilesFromGit(argv[2:])) |
# Filter out files that aren't C/C++/Obj-C/Obj-C++. |
- extensions = frozenset(('.c', '.cc', '.m', '.mm')) |
+ extensions = frozenset(('.c', '.cc', '.h', '.m', '.mm')) |
dcheng
2015/05/13 05:07:05
I think the right thing to do is change the set of
Sami
2015/05/13 18:33:35
Yes, that's much cleaner. Done.
|
filenames = [f for f in filenames |
if os.path.splitext(f)[1] in extensions] |
dispatcher = _CompilerDispatcher(argv[0], argv[1], filenames) |