forked from OSchip/llvm-project
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:
parent
0b385ac138
commit
2158912a4e
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue