summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-12-08 19:39:03 +0000
committerDaniel Jasper <djasper@google.com>2014-12-08 19:39:03 +0000
commit5ebcca3cf2194bdc05f7c035e1f1389cbb3772f0 (patch)
tree433fc6032e54f0b54e5ecda002095f29e5b9025d /tools
parentbb794d1419a75650dc9ddb16d02fa96eb6125f81 (diff)
clang-format: Make clang-format-diff.py format java files.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223685 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rwxr-xr-xtools/clang-format/clang-format-diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-format/clang-format-diff.py b/tools/clang-format/clang-format-diff.py
index 247dace9be..23adb077c9 100755
--- a/tools/clang-format/clang-format-diff.py
+++ b/tools/clang-format/clang-format-diff.py
@@ -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',