[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
diff --git a/tools/clang-format/git-clang-format b/tools/clang-format/git-clang-format
index 715019d..ef7f22d 100755
--- a/tools/clang-format/git-clang-format
+++ b/tools/clang-format/git-clang-format
@@ -77,7 +77,7 @@
'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