aboutsummaryrefslogtreecommitdiffstats
path: root/devel/llvm20/files/patch-clang_tools_clang-format_clang-format.py
blob: 8ea9b8deeaa6c5d26352509a006ea7be207686fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- clang/tools/clang-format/clang-format.py.orig
+++ clang/tools/clang-format/clang-format.py
@@ -49,7 +49,7 @@
 
 # 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%%LLVM_SUFFIX%%"
 if vim.eval('exists("g:clang_format_path")') == "1":
     binary = vim.eval("g:clang_format_path")