r223685 - clang-format: Make clang-format-diff.py format java files.
Daniel Jasper
djasper at google.com
Mon Dec 8 11:39:03 PST 2014
Author: djasper
Date: Mon Dec 8 13:39:03 2014
New Revision: 223685
URL: http://llvm.org/viewvc/llvm-project?rev=223685&view=rev
Log:
clang-format: Make clang-format-diff.py format java files.
Modified:
cfe/trunk/tools/clang-format/clang-format-diff.py
Modified: cfe/trunk/tools/clang-format/clang-format-diff.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/clang-format-diff.py?rev=223685&r1=223684&r2=223685&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/clang-format-diff.py (original)
+++ cfe/trunk/tools/clang-format/clang-format-diff.py Mon Dec 8 13:39:03 2014
@@ -49,7 +49,7 @@ def main():
'(case sensitive, overrides -iregex)')
parser.add_argument('-iregex', metavar='PATTERN', default=
r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm|inc|js|proto'
- r'|protodevel)',
+ r'|protodevel|java)',
help='custom pattern selecting file paths to reformat '
'(case insensitive, overridden by -regex)')
parser.add_argument('-v', '--verbose', action='store_true',
More information about the cfe-commits
mailing list