Use newer clang+llvm+clang-format.

This commit is contained in:
gibbed
2020-02-22 10:56:09 -06:00
committed by Rick Gibbed
parent 2ad5ee8ff6
commit ec15da8b14
3 changed files with 11 additions and 22 deletions
+2 -2
View File
@@ -310,7 +310,7 @@ def get_clang_format_binary():
attempts = [
'C:\\Program Files\\LLVM\\bin\\clang-format.exe',
'C:\\Program Files (x86)\\LLVM\\bin\\clang-format.exe',
'clang-format-3.8',
'clang-format-9',
'clang-format',
]
for binary in attempts:
@@ -318,7 +318,7 @@ def get_clang_format_binary():
return binary
print('ERROR: clang-format is not on PATH')
print('LLVM is available from https://llvm.org/releases/download.html')
print('At least version 3.8 is required.')
print('At least version 9 is required.')
print('See docs/style_guide.md for instructions on how to get it.')
sys.exit(1)