Fix apple clang detection in lit.cfg

llvm-svn: 223597
This commit is contained in:
Eric Fiselier 2014-12-06 22:49:38 +00:00
parent 6ae60e70c6
commit 9db4635146
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ class Configuration(object):
if '__clang__' in macros.keys():
compiler_name = 'clang'
# Treat apple's llvm fork differently.
if '__apple_build_type__' in macros.keys():
if '__apple_build_version__' in macros.keys():
compiler_name = 'apple-clang'
major_ver = macros['__clang_major__']
minor_ver = macros['__clang_minor__']