clang-format-version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 15 Aug 2020 19:53:41 +0000 (20:53 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 15 Aug 2020 19:53:41 +0000 (20:53 +0100)
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 3ba0abefc9f5fcd0ad8d19bb36abf0825a9d1be6..e231f5bfe1d4a6409836ed0051e89998cfd873db 100755 (executable)
@@ -58,7 +58,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-9',
                       help='location of binary to use for clang-format')
   args = parser.parse_args()
 
index 0b9dc8d6fa8b2b6a84809c4b422a584da2f38227..b384538362bf473634c62f53d44eea5eeeb7bf4e 100644 (file)
@@ -36,7 +36,7 @@
   :group 'tools)
 
 (defcustom clang-format-executable
-  (or (executable-find "clang-format")
+  (or (executable-find "clang-format-9")
       "clang-format")
   "Location of the clang-format executable.
 
index 0c772f91f6f229979c80815ada171fb6eaa76a27..e987b5a33a5a023ea42f5c1a094eaacf2384d140 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-9'
 if vim.eval('exists("g:clang_format_path")') == "1":
   binary = vim.eval('g:clang_format_path')