[libcxx] r223597 - Fix apple clang detection in lit.cfg

Eric Fiselier eric at efcs.ca
Sat Dec 6 14:49:39 PST 2014


Author: ericwf
Date: Sat Dec  6 16:49:38 2014
New Revision: 223597

URL: http://llvm.org/viewvc/llvm-project?rev=223597&view=rev
Log:
Fix apple clang detection in lit.cfg

Modified:
    libcxx/trunk/test/lit.cfg

Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=223597&r1=223596&r2=223597&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Sat Dec  6 16:49:38 2014
@@ -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__']





More information about the cfe-commits mailing list