Update commnents to reflect the changes for LWG#3127. NFC

llvm-svn: 344951
This commit is contained in:
Marshall Clow 2018-10-22 20:49:50 +00:00
parent 05fe329687
commit 01cc58bfb0
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,31 @@
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// <charconv> feature macros
/* Constant Value
__cpp_lib_to_chars 201611L
*/
#include <charconv>
#include "test_macros.h"
int main()
{
// ensure that the macros that are supposed to be defined in <utility> are defined.
/*
#if !defined(__cpp_lib_fooby)
# error "__cpp_lib_fooby is not defined"
#elif __cpp_lib_fooby < 201606L
# error "__cpp_lib_fooby has an invalid value"
#endif
*/
}

View File

@ -14,7 +14,6 @@
__cpp_lib_as_const 201510L
__cpp_lib_exchange_function 201304L
__cpp_lib_integer_sequence 201304L
__cpp_lib_to_chars 201611L
__cpp_lib_tuples_by_type 201304L
*/