Show More
@@ -591,7 +591,7 b' def has_pylint():' | |||||
591 |
|
591 | |||
592 | @check("clang-format", "clang-format C code formatter") |
|
592 | @check("clang-format", "clang-format C code formatter") | |
593 | def has_clang_format(): |
|
593 | def has_clang_format(): | |
594 | m = matchoutput('clang-format --version', br'clang-format version (\d)') |
|
594 | m = matchoutput('clang-format --version', br'clang-format version (\d*)') | |
595 | # style changed somewhere between 4.x and 6.x |
|
595 | # style changed somewhere between 4.x and 6.x | |
596 | return m and int(m.group(1)) >= 6 |
|
596 | return m and int(m.group(1)) >= 6 | |
597 |
|
597 |
General Comments 0
You need to be logged in to leave comments.
Login now