patch-clang_tools_clang-format_clang-format-sublime.py 457 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14

$FreeBSD$

--- clang/tools/clang-format/clang-format-sublime.py.orig
+++ clang/tools/clang-format/clang-format-sublime.py
@@ -18,7 +18,7 @@
 import subprocess
 
 # Change this to the full path if clang-format is not on the path.
-binary = 'clang-format'
+binary = 'clang-format%%LLVM_SUFFIX%%'
 
 # Change this to format according to other formatting styles. See the output of
 # 'clang-format --help' for a list of supported styles. The default looks for