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 | 580a8bc69ae82aa4956d7536ff1783d008fef10c (patch) | |
tree | 939046d66018fd2922d52758355e84df83260b52 /clang/tools/clang-format/git-clang-format | |
parent | c9b2cd4674c072f4c361875698568f3618b3dcc6 (diff) | |
download | bcm5719-llvm-580a8bc69ae82aa4956d7536ff1783d008fef10c.tar.gz bcm5719-llvm-580a8bc69ae82aa4956d7536ff1783d008fef10c.zip |
[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
llvm-svn: 364014
Diffstat (limited to 'clang/tools/clang-format/git-clang-format')
-rwxr-xr-x | clang/tools/clang-format/git-clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/git-clang-format b/clang/tools/clang-format/git-clang-format index 715019d95fd..ef7f22d0f87 100755 --- a/clang/tools/clang-format/git-clang-format +++ b/clang/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 |