From 580a8bc69ae82aa4956d7536ff1783d008fef10c Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 21 Jun 2019 09:49:38 +0000 Subject: [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 --- clang/tools/clang-format/git-clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/tools/clang-format/git-clang-format') 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 -- cgit v1.2.3