From: LLVM Packaging Team Date: Tue, 25 Apr 2017 17:46:34 +0000 (+0000) Subject: clang-format-version X-Git-Tag: archive/raspbian/1%3.8.1-23+rpi1~3^2~45 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b7b06aff827f5ea36fa570e44b68f85405271ee4;p=llvm-toolchain-3.8.git clang-format-version =================================================================== Gbp-Pq: Name clang-format-version.diff --- diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py index 9e02bb09..cc135ffb 100755 --- a/clang/tools/clang-format/clang-format-diff.py +++ b/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.8' def main(): diff --git a/clang/tools/clang-format/clang-format.el b/clang/tools/clang-format/clang-format.el index ca461444..1ef7fdf3 100644 --- a/clang/tools/clang-format/clang-format.el +++ b/clang/tools/clang-format/clang-format.el @@ -36,7 +36,7 @@ :group 'tools) (defcustom clang-format-executable - (or (executable-find "clang-format") + (or (executable-find "clang-format-3.8") "clang-format") "Location of the clang-format executable. diff --git a/clang/tools/clang-format/clang-format.py b/clang/tools/clang-format/clang-format.py index 5cb41fcf..eacc59de 100644 --- a/clang/tools/clang-format/clang-format.py +++ b/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-3.8' if vim.eval('exists("g:clang_format_path")') == "1": binary = vim.eval('g:clang_format_path')