From ae918c78b51ae7e19053b9ae9deb9fee35084256 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Sat, 3 Dec 2022 09:24:03 -0500 Subject: [PATCH] [clang-format] Add .inc extension to git-clang-format Differential Revision: https://reviews.llvm.org/D138746 --- clang/tools/clang-format/git-clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/tools/clang-format/git-clang-format b/clang/tools/clang-format/git-clang-format index 7ce6b60a8e65..054978c3dbdf 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 -- 2.11.4.GIT