mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-10 23:42:18 +00:00
40 lines
1.8 KiB
Diff
40 lines
1.8 KiB
Diff
Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.py
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.6~svn221256.orig/clang/tools/clang-format/clang-format.py
|
|
+++ llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.py
|
|
@@ -25,7 +25,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-3.6'
|
|
if vim.eval('exists("g:clang_format_path")') == "1":
|
|
binary = vim.eval('g:clang_format_path')
|
|
|
|
Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format-diff.py
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.6~svn221256.orig/clang/tools/clang-format/clang-format-diff.py
|
|
+++ llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format-diff.py
|
|
@@ -32,7 +32,7 @@ import sys
|
|
|
|
|
|
# Change this to the full path if clang-format is not on the path.
|
|
-binary = 'clang-format'
|
|
+binary = 'clang-format-3.6'
|
|
|
|
|
|
def main():
|
|
Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.el
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.6~svn221256.orig/clang/tools/clang-format/clang-format.el
|
|
+++ llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.el
|
|
@@ -13,7 +13,7 @@
|
|
|
|
;; *Location of the clang-format binary. If it is on your PATH, a full path name
|
|
;; need not be specified.
|
|
-(defvar clang-format-binary "clang-format")
|
|
+(defvar clang-format-binary "clang-format-3.6")
|
|
|
|
(defun clang-format-region ()
|
|
"Use clang-format to format the currently active region."
|