Merge pull request #10941 from Bo98/clang-vers-update

os/mac/xcode: update Clang version parsing for CLT 12.5
This commit is contained in:
Bo Anderson 2021-03-29 12:43:40 +01:00 committed by GitHub
commit 8288626fe9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,7 +353,7 @@ module OS
end
def detect_version_from_clang_version
detect_clang_version&.sub(/^(\d+)00\./, "\\1.")
detect_clang_version&.sub(/^(\d+)0(\d)\./, "\\1.\\2.")
end
# Version string (a pretty long one) of the CLT package.