Skip to content

Commit 815e9bb

Browse files
committedSep 13, 2016
clang-format: Add Java detection to git-clang-format.
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
1 parent 1eea3e5 commit 815e9bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎clang/tools/clang-format/git-clang-format

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def main():
7777
'cc', 'cp', 'cpp', 'c++', 'cxx', 'hpp', # C++
7878
# Other languages that clang-format supports
7979
'proto', 'protodevel', # Protocol Buffers
80+
'java', # Java
8081
'js', # JavaScript
8182
'ts', # TypeScript
8283
])

0 commit comments

Comments
 (0)
Please sign in to comment.