[libcxx] r318259 - Named the macro wrong in the test.

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 14 19:08:39 PST 2017


Author: marshall
Date: Tue Nov 14 19:08:39 2017
New Revision: 318259

URL: http://llvm.org/viewvc/llvm-project?rev=318259&view=rev
Log:
Named the macro wrong in the test.

Modified:
    libcxx/trunk/test/libcxx/diagnostics/nodiscard.pass.cpp

Modified: libcxx/trunk/test/libcxx/diagnostics/nodiscard.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/diagnostics/nodiscard.pass.cpp?rev=318259&r1=318258&r2=318259&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/diagnostics/nodiscard.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/diagnostics/nodiscard.pass.cpp Tue Nov 14 19:08:39 2017
@@ -13,7 +13,7 @@
 
 // UNSUPPORTED: c++98, c++03, c++11, c++14
 
-#define _LIBCPP_DISABLE_AFTER_CXX17_NODISCARD
+#define _LIBCPP_DISABLE_NODISCARD_AFTER_CXX17
 #include <__config>
 
 _LIBCPP_NODISCARD_AFTER_CXX17 int foo() { return 6; }




More information about the cfe-commits mailing list