clang-format-version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 9 Dec 2017 18:56:52 +0000 (18:56 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Sat, 9 Dec 2017 18:56:52 +0000 (18:56 +0000)
Gbp-Pq: Name clang-format-version.diff

clang/tools/clang-format/clang-format-diff.py
clang/tools/clang-format/clang-format.el
clang/tools/clang-format/clang-format.py

index ffa30e70ddc33696a60869dfbc3b16ce59b39644..3784dce7fee72d257df7bb2fee8cd62bdb38fdc4 100755 (executable)
@@ -55,7 +55,7 @@ def main():
   parser.add_argument('-style',
                       help='formatting style to apply (LLVM, Google, Chromium, '
                       'Mozilla, WebKit)')
-  parser.add_argument('-binary', default='clang-format',
+  parser.add_argument('-binary', default='clang-format-5.0',
                       help='location of binary to use for clang-format')
   args = parser.parse_args()
 
index aa9c3ff4ca0bc523b9266c10630d4614c610ea23..0d2861fb4267076a7536214fb2f349556ca5cda7 100644 (file)
@@ -36,7 +36,7 @@
   :group 'tools)
 
 (defcustom clang-format-executable
-  (or (executable-find "clang-format")
+  (or (executable-find "clang-format-5.0")
       "clang-format")
   "Location of the clang-format executable.
 
index 187125ed09a8fc9e003e1301a7f5bce5b2d9beb3..267dd4fd621ff957e28220abff85e2904ee4c818 100644 (file)
@@ -36,7 +36,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-5.0'
 if vim.eval('exists("g:clang_format_path")') == "1":
   binary = vim.eval('g:clang_format_path')