clang-format-version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Fri, 22 Dec 2017 10:17:30 +0000 (10:17 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 22 Dec 2017 10:17:30 +0000 (10:17 +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 5e728f54716985fa9c2bbc319bccdb79cf217be8..4584c6be345ee9acdc078ec656df8a1bcefde363 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-3.9',
                       help='location of binary to use for clang-format')
   args = parser.parse_args()
 
index ca461444e22684186ed64aa16d10b226fce881a6..2890f1056d464f89e7ede4cf90355789131ce8b8 100644 (file)
@@ -36,7 +36,7 @@
   :group 'tools)
 
 (defcustom clang-format-executable
-  (or (executable-find "clang-format")
+  (or (executable-find "clang-format-3.9")
       "clang-format")
   "Location of the clang-format executable.
 
index 5cb41fcfa371a5c6e8ad8920ea03dc405824d5aa..038b8c54f1a5338c1286a5cb022d35e01a98dc7b 100644 (file)
@@ -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.9'
 if vim.eval('exists("g:clang_format_path")') == "1":
   binary = vim.eval('g:clang_format_path')