|
@@ -19,7 +19,9 @@ if [[ $OS = "Linux" || $OS = "Darwin" ]] ; then
|
|
fi
|
|
fi
|
|
|
|
|
|
# Discover clang-format
|
|
# Discover clang-format
|
|
-if type clang-format-10 2> /dev/null ; then
|
|
|
|
|
|
+if type clang-format-12 2> /dev/null ; then
|
|
|
|
+ CLANG_FORMAT=clang-format-12
|
|
|
|
+elif type clang-format-10 2> /dev/null ; then
|
|
CLANG_FORMAT=clang-format-10
|
|
CLANG_FORMAT=clang-format-10
|
|
elif type clang-format-8 2> /dev/null ; then
|
|
elif type clang-format-8 2> /dev/null ; then
|
|
CLANG_FORMAT=clang-format-8
|
|
CLANG_FORMAT=clang-format-8
|