Index: depot_tools/git_cl.py |
=================================================================== |
--- depot_tools/git_cl.py (revision 248421) |
+++ depot_tools/git_cl.py (working copy) |
@@ -2306,7 +2306,7 @@ |
@subcommand.usage('[files or directories to diff]') |
def CMDformat(parser, args): |
"""Runs clang-format on the diff.""" |
- CLANG_EXTS = ['.cc', '.cpp', '.h'] |
+ CLANG_EXTS = ['.cc', '.cpp', '.h', '.mm'] |
parser.add_option('--full', action='store_true', |
help='Reformat the full content of all touched files') |
parser.add_option('--dry-run', action='store_true', |