summaryrefslogtreecommitdiff
path: root/devel/llvm12/files/patch-clang_tools_clang-format_clang-format.py
blob: b002166e0a24cca59e97c2813c3af79b0c089681 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- clang/tools/clang-format/clang-format.py.orig	2015-09-08 20:44:00 UTC
+++ clang/tools/clang-format/clang-format.py
@@ -34,7 +34,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%%LLVM_SUFFIX%%'
 if vim.eval('exists("g:clang_format_path")') == "1":
   binary = vim.eval('g:clang_format_path')