clang-format: Enable formatting for .proto and .protodevel files.

Support for protocol buffer files seems complete enough.

llvm-svn: 199750
This commit is contained in:
Daniel Jasper 2014-01-21 15:40:01 +00:00
parent 0b385ac138
commit 2158912a4e
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ def main():
help='custom pattern selecting file paths to reformat '
'(case sensitive, overrides -iregex)')
parser.add_argument('-iregex', metavar='PATTERN', default=
r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm|inc|js)',
r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm|inc|js|proto'
r'|protodevel)',
help='custom pattern selecting file paths to reformat '
'(case insensitive, overridden by -regex)')
parser.add_argument(