clang-format-version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 14 Mar 2025 09:48:31 +0000 (10:48 +0100)
Gbp-Pq: Name clang-format-version.diff

clang/tools/clang-format/clang-format-diff.py
clang/tools/clang-format/clang-format.el
clang/tools/clang-format/clang-format.py

index 3a74b90e731578cad6796b9895db563a6512728e..8e0725a38ba6f36a03cf04950b587fa49a657924 100755 (executable)
@@ -93,7 +93,7 @@ def main():
     )
     parser.add_argument(
         "-binary",
-        default="clang-format",
+        default="clang-format-19",
         help="location of binary to use for clang-format",
     )
     args = parser.parse_args()
index f43bf063c6297038165fcb154ecd82e0df9bb139..ff8ed4b3b338c05f94f79bef44d19dfffc660a0e 100644 (file)
@@ -38,7 +38,7 @@
   :group 'tools)
 
 (defcustom clang-format-executable
-  (or (executable-find "clang-format")
+  (or (executable-find "clang-format-19")
       "clang-format")
   "Location of the clang-format executable.
 
index 28e0d14a552fd158eba4f2ed33e4f4ff15a45fc8..a2d22dc1d8118903df0b4ca6cec4b59ed77cf9c8 100644 (file)
@@ -49,7 +49,7 @@ import vim
 
 # set g:clang_format_path to the path to clang-format if it is not on the path
 # Change this to the full path if clang-format is not on the path.
-binary = "clang-format"
+binary = "clang-format-19"
 if vim.eval('exists("g:clang_format_path")') == "1":
     binary = vim.eval("g:clang_format_path")