[libcxx] r222405 - Remove tests that va_copy is not defined when C++ < 11.

Eric Fiselier eric at efcs.ca
Wed Nov 19 19:39:25 PST 2014


Author: ericwf
Date: Wed Nov 19 21:39:25 2014
New Revision: 222405

URL: http://llvm.org/viewvc/llvm-project?rev=222405&view=rev
Log:
Remove tests that va_copy is not defined when C++ < 11.

Modified:
    libcxx/trunk/test/depr/depr.c.headers/stdarg_h.pass.cpp
    libcxx/trunk/test/language.support/support.runtime/cstdarg.pass.cpp

Modified: libcxx/trunk/test/depr/depr.c.headers/stdarg_h.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/depr/depr.c.headers/stdarg_h.pass.cpp?rev=222405&r1=222404&r2=222405&view=diff
==============================================================================
--- libcxx/trunk/test/depr/depr.c.headers/stdarg_h.pass.cpp (original)
+++ libcxx/trunk/test/depr/depr.c.headers/stdarg_h.pass.cpp Wed Nov 19 21:39:25 2014
@@ -19,10 +19,6 @@
 #  ifndef va_copy
 #    error va_copy is not defined when c++ >= 11
 #  endif
-#else
-#  ifdef va_copy
-#    error va_copy is unexpectedly defined when c++ < 11
-#  endif
 #endif
 
 #ifndef va_end

Modified: libcxx/trunk/test/language.support/support.runtime/cstdarg.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/language.support/support.runtime/cstdarg.pass.cpp?rev=222405&r1=222404&r2=222405&view=diff
==============================================================================
--- libcxx/trunk/test/language.support/support.runtime/cstdarg.pass.cpp (original)
+++ libcxx/trunk/test/language.support/support.runtime/cstdarg.pass.cpp Wed Nov 19 21:39:25 2014
@@ -19,10 +19,6 @@
 #  ifndef va_copy
 #    error va_copy is not defined when c++ >= 11
 #  endif
-#else
-#  ifdef va_copy
-#    error va_copy is unexpectedly defined when c++ < 11
-#  endif
 #endif
 
 #ifndef va_end





More information about the cfe-commits mailing list