diff options
author | Miklos Vajna <vmiklos@vmiklos.hu> | 2019-06-21 09:49:38 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@vmiklos.hu> | 2019-06-21 09:49:38 +0000 |
commit | 2bb8e0fe002e8ffaa9ce5fa58034453c94c7e208 (patch) | |
tree | 60607c9ffd81736899e8b068f330be0f4e3049dd /tools | |
parent | c6c5c094139f877bf67346c71439b915ec7806c2 (diff) | |
download | clang-2bb8e0fe002e8ffaa9ce5fa58034453c94c7e208.tar.gz |
[git-clang-format] recognize hxx as a C++ file
clangd, clang-tidy, etc does that already, no reason why
git-clang-format should skip hxx files.
Reviewed By: ilya-biryukov
Differential Revision: https://reviews.llvm.org/D63621
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364014 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/clang-format/git-clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/clang-format/git-clang-format b/tools/clang-format/git-clang-format index 715019d95f..ef7f22d0f8 100755 --- a/tools/clang-format/git-clang-format +++ b/tools/clang-format/git-clang-format @@ -77,7 +77,7 @@ def main(): 'c', 'h', # C 'm', # ObjC 'mm', # ObjC++ - 'cc', 'cp', 'cpp', 'c++', 'cxx', 'hpp', # C++ + 'cc', 'cp', 'cpp', 'c++', 'cxx', 'hpp', 'hxx', # C++ 'cu', # CUDA # Other languages that clang-format supports 'proto', 'protodevel', # Protocol Buffers |