[xenia-build] Update clang-format version to 13
This commit is contained in:
parent
7fc93185f2
commit
b2e51fd24f
|
@ -430,7 +430,7 @@ def get_clang_format_binary():
|
||||||
attempts = [
|
attempts = [
|
||||||
'C:\\Program Files\\LLVM\\bin\\clang-format.exe',
|
'C:\\Program Files\\LLVM\\bin\\clang-format.exe',
|
||||||
'C:\\Program Files (x86)\\LLVM\\bin\\clang-format.exe',
|
'C:\\Program Files (x86)\\LLVM\\bin\\clang-format.exe',
|
||||||
'clang-format-9',
|
'clang-format-13',
|
||||||
'clang-format',
|
'clang-format',
|
||||||
]
|
]
|
||||||
for binary in attempts:
|
for binary in attempts:
|
||||||
|
@ -438,7 +438,7 @@ def get_clang_format_binary():
|
||||||
return binary
|
return binary
|
||||||
print('ERROR: clang-format is not on PATH')
|
print('ERROR: clang-format is not on PATH')
|
||||||
print('LLVM is available from https://llvm.org/releases/download.html')
|
print('LLVM is available from https://llvm.org/releases/download.html')
|
||||||
print('At least version 9 is required.')
|
print('At least version 13 is required.')
|
||||||
print('See docs/style_guide.md for instructions on how to get it.')
|
print('See docs/style_guide.md for instructions on how to get it.')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue