clang-format-version
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Sat, 15 Aug 2020 20:34:33 +0000 (21:34 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 15 Aug 2020 20:34:33 +0000 (21:34 +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 d6d351041611f11d5b6c8378830429e0b58eb44c..8277a24770879ad2588e26098900ed8ddce9633c 100755 (executable)
@@ -59,7 +59,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-8',
                       help='location of binary to use for clang-format')
   args = parser.parse_args()
 
index 4f11daf15fa9e1e331432dadbb20077fa1f8bb34..f6b4b5adf7a8b104055cd7d7a71d743969d02b50 100644 (file)
@@ -36,7 +36,7 @@
   :group 'tools)
 
 (defcustom clang-format-executable
-  (or (executable-find "clang-format")
+  (or (executable-find "clang-format-8")
       "clang-format")
   "Location of the clang-format executable.
 
index fe068bd41c18bf8844aa678d9a589d3b1a3c8bb9..6a597b4abb38aece30be84a71fd97698d8755159 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-8'
 if vim.eval('exists("g:clang_format_path")') == "1":
   binary = vim.eval('g:clang_format_path')