Merge pull request #4281 from mistydemeo/fix_unparsed_clang_exception

Xcode: fix version detection with unknown clang
This commit is contained in:
Mike McQuaid 2018-07-12 09:35:57 +01:00 committed by GitHub
commit 4ffc8b137b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,6 +147,7 @@ module OS
end end
def detect_version_from_clang_version def detect_version_from_clang_version
return "dunno" if DevelopmentTools.clang_version.null?
# This logic provides a fake Xcode version based on the # This logic provides a fake Xcode version based on the
# installed CLT version. This is useful as they are packaged # installed CLT version. This is useful as they are packaged
# simultaneously so workarounds need to apply to both based on their # simultaneously so workarounds need to apply to both based on their