[libcxx] r222383 - Change contradictory wording in va_copy test error message.

Eric Fiselier eric at efcs.ca
Wed Nov 19 12:01:26 PST 2014


Author: ericwf
Date: Wed Nov 19 14:01:26 2014
New Revision: 222383

URL: http://llvm.org/viewvc/llvm-project?rev=222383&view=rev
Log:
Change contradictory wording in va_copy test error message.

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=222383&r1=222382&r2=222383&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 14:01:26 2014
@@ -17,11 +17,11 @@
 
 #if __cplusplus >= 201103L
 #  ifndef va_copy
-#    error va_copy not defined when c++ >= 11
+#    error va_copy is not defined when c++ >= 11
 #  endif
 #else
 #  ifdef va_copy
-#    error va_copy not defined when c++ < 11
+#    error va_copy is unexpectedly defined when c++ < 11
 #  endif
 #endif
 

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=222383&r1=222382&r2=222383&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 14:01:26 2014
@@ -17,11 +17,11 @@
 
 #if __cplusplus >= 201103L
 #  ifndef va_copy
-#    error va_copy not defined when c++ >= 11
+#    error va_copy is not defined when c++ >= 11
 #  endif
 #else
 #  ifdef va_copy
-#    error va_copy not defined when c++ < 11
+#    error va_copy is unexpectedly defined when c++ < 11
 #  endif
 #endif
 





More information about the cfe-commits mailing list