aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ganea <alex_toresh@yahoo.fr>2022-12-03 09:24:03 -0500
committerAlexandre Ganea <alex_toresh@yahoo.fr>2022-12-03 09:24:03 -0500
commitae918c78b51ae7e19053b9ae9deb9fee35084256 (patch)
treeab8781a123e89f0f2addcffe6e9b88bbe68a66eb
parentd4c5c7e0acc4372b5686e453c4dc0a59e4b83058 (diff)
downloadllvm-ae918c78b51ae7e19053b9ae9deb9fee35084256.zip
llvm-ae918c78b51ae7e19053b9ae9deb9fee35084256.tar.gz
llvm-ae918c78b51ae7e19053b9ae9deb9fee35084256.tar.bz2
[clang-format] Add .inc extension to git-clang-format
Differential Revision: https://reviews.llvm.org/D138746
-rwxr-xr-xclang/tools/clang-format/git-clang-format2
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 7ce6b60..054978c 100755
--- a/clang/tools/clang-format/git-clang-format
+++ b/clang/tools/clang-format/git-clang-format
@@ -88,7 +88,7 @@ def main():
'c', 'h', # C
'm', # ObjC
'mm', # ObjC++
- 'cc', 'cp', 'cpp', 'c++', 'cxx', 'hh', 'hpp', 'hxx', # C++
+ 'cc', 'cp', 'cpp', 'c++', 'cxx', 'hh', 'hpp', 'hxx', 'inc', # C++
'ccm', 'cppm', 'cxxm', 'c++m', # C++ Modules
'cu', 'cuh', # CUDA
# Other languages that clang-format supports