projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eea3e5
)
clang-format: Add Java detection to git-clang-format.
author
Stephen Hines
<srhines@google.com>
Tue, 13 Sep 2016 05:00:20 +0000
(
05:00
+0000)
committer
Stephen Hines
<srhines@google.com>
Tue, 13 Sep 2016 05:00:20 +0000
(
05:00
+0000)
Summary: This change adds "java" to the list of known extensions that clang-format supports.
Patch by Luis Hector Chavez
Reviewers: djasper
Subscribers: srhines, cfe-commits
Differential Revision: https://reviews.llvm.org/D24401
llvm-svn: 281294
clang/tools/clang-format/git-clang-format
patch
|
blob
|
history
diff --git
a/clang/tools/clang-format/git-clang-format
b/clang/tools/clang-format/git-clang-format
index
0c45762
..
860548e
100755
(executable)
--- a/
clang/tools/clang-format/git-clang-format
+++ b/
clang/tools/clang-format/git-clang-format
@@
-77,6
+77,7
@@
def main():
'cc', 'cp', 'cpp', 'c++', 'cxx', 'hpp', # C++
# Other languages that clang-format supports
'proto', 'protodevel', # Protocol Buffers
+ 'java', # Java
'js', # JavaScript
'ts', # TypeScript
])