[libcxx] r227264 - Fix definition of __has_feature in r227263

Eric Fiselier eric at efcs.ca
Tue Jan 27 15:05:41 PST 2015


Author: ericwf
Date: Tue Jan 27 17:05:41 2015
New Revision: 227264

URL: http://llvm.org/viewvc/llvm-project?rev=227264&view=rev
Log:
Fix definition of __has_feature in r227263

Modified:
    libcxx/trunk/test/support/count_new.hpp

Modified: libcxx/trunk/test/support/count_new.hpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/count_new.hpp?rev=227264&r1=227263&r2=227264&view=diff
==============================================================================
--- libcxx/trunk/test/support/count_new.hpp (original)
+++ libcxx/trunk/test/support/count_new.hpp Tue Jan 27 17:05:41 2015
@@ -6,7 +6,7 @@
 # include <new>
 
 #ifndef __has_feature
-#  define __has_feature(x)
+#  define __has_feature(x) 0
 #endif
 
 #if  __has_feature(address_sanitizer) \





More information about the cfe-commits mailing list