Apple clang is the canonical way to refer to the compiler shipped with Xcode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360307
91177308-0d34-0410-b5e6-
96231b3b80d8
major_version_number = int(version_regex.group(1))
minor_version_number = int(version_regex.group(2))
patch_version_number = int(version_regex.group(3))
- if 'Apple LLVM' in version_string:
- # Apple LLVM doesn't yet support LSan
+ if ('Apple LLVM' in version_string) or ('Apple clang' in version_string):
+ # Apple clang doesn't yet support LSan
return False
else:
return major_version_number >= 5