r364014 - [git-clang-format] recognize hxx as a C++ file
Miklos Vajna via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 21 02:49:38 PDT 2019
Author: vmiklos
Date: Fri Jun 21 02:49:38 2019
New Revision: 364014
URL: http://llvm.org/viewvc/llvm-project?rev=364014&view=rev
Log:
[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
Modified:
cfe/trunk/tools/clang-format/git-clang-format
Modified: cfe/trunk/tools/clang-format/git-clang-format
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-format/git-clang-format?rev=364014&r1=364013&r2=364014&view=diff
==============================================================================
--- cfe/trunk/tools/clang-format/git-clang-format (original)
+++ cfe/trunk/tools/clang-format/git-clang-format Fri Jun 21 02:49:38 2019
@@ -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
More information about the cfe-commits
mailing list