[PATCH] D138746: [clang-format] Add .inc extension to git-clang-format

Alexandre Ganea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 3 06:25:14 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGae918c78b51a: [clang-format] Add .inc extension to git-clang-format (authored by aganea).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138746/new/

https://reviews.llvm.org/D138746

Files:
  clang/tools/clang-format/git-clang-format


Index: clang/tools/clang-format/git-clang-format
===================================================================
--- clang/tools/clang-format/git-clang-format
+++ clang/tools/clang-format/git-clang-format
@@ -88,7 +88,7 @@
       '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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138746.479836.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221203/90a05e02/attachment-0001.bin>


More information about the cfe-commits mailing list