diff options
author | Stephen Hines <srhines@google.com> | 2016-09-13 05:00:20 +0000 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2016-09-13 05:00:20 +0000 |
commit | 552e0fbb1293bc9693d27a9c8017bd39c9d1077e (patch) | |
tree | 38c47e1a65eb4ae801ce540c0f8535a60c3398ba /tools/clang-format | |
parent | 8a7af2f320b4136f51d211cfc47c785945abfb12 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281294 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-format')
-rwxr-xr-x | tools/clang-format/git-clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/clang-format/git-clang-format b/tools/clang-format/git-clang-format index 0c45762ea5..860548e71e 100755 --- a/tools/clang-format/git-clang-format +++ b/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 ]) |