mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 06:31:27 +00:00
refresh of the patch
This commit is contained in:
parent
90257f3ef1
commit
97a099f88d
32
debian/patches/clang-format-version.diff
vendored
32
debian/patches/clang-format-version.diff
vendored
@ -1,7 +1,7 @@
|
|||||||
Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.py
|
Index: llvm-toolchain-snapshot_3.6~svn225450/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~svn225450.orig/clang/tools/clang-format/clang-format.py
|
||||||
+++ llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.py
|
+++ llvm-toolchain-snapshot_3.6~svn225450/clang/tools/clang-format/clang-format.py
|
||||||
@@ -25,7 +25,7 @@ import vim
|
@@ -25,7 +25,7 @@ import vim
|
||||||
|
|
||||||
# set g:clang_format_path to the path to clang-format if it is not on the path
|
# set g:clang_format_path to the path to clang-format if it is not on the path
|
||||||
@ -11,10 +11,10 @@ Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-form
|
|||||||
if vim.eval('exists("g:clang_format_path")') == "1":
|
if vim.eval('exists("g:clang_format_path")') == "1":
|
||||||
binary = vim.eval('g:clang_format_path')
|
binary = vim.eval('g:clang_format_path')
|
||||||
|
|
||||||
Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format-diff.py
|
Index: llvm-toolchain-snapshot_3.6~svn225450/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~svn225450.orig/clang/tools/clang-format/clang-format-diff.py
|
||||||
+++ llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format-diff.py
|
+++ llvm-toolchain-snapshot_3.6~svn225450/clang/tools/clang-format/clang-format-diff.py
|
||||||
@@ -32,7 +32,7 @@ import sys
|
@@ -32,7 +32,7 @@ import sys
|
||||||
|
|
||||||
|
|
||||||
@ -24,16 +24,16 @@ Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-form
|
|||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
Index: llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.el
|
Index: llvm-toolchain-snapshot_3.6~svn225450/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~svn225450.orig/clang/tools/clang-format/clang-format.el
|
||||||
+++ llvm-toolchain-snapshot_3.6~svn221256/clang/tools/clang-format/clang-format.el
|
+++ llvm-toolchain-snapshot_3.6~svn225450/clang/tools/clang-format/clang-format.el
|
||||||
@@ -13,7 +13,7 @@
|
@@ -35,7 +35,7 @@
|
||||||
|
:group 'tools)
|
||||||
|
|
||||||
;; *Location of the clang-format binary. If it is on your PATH, a full path name
|
(defcustom clang-format-executable
|
||||||
;; need not be specified.
|
- (or (executable-find "clang-format")
|
||||||
-(defvar clang-format-binary "clang-format")
|
+ (or (executable-find "clang-format-3.6")
|
||||||
+(defvar clang-format-binary "clang-format-3.6")
|
"clang-format")
|
||||||
|
"Location of the clang-format executable.
|
||||||
|
|
||||||
(defun clang-format-region ()
|
|
||||||
"Use clang-format to format the currently active region."
|
|
||||||
|
Loading…
Reference in New Issue
Block a user