mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-22 07:51:39 +08:00
[libcxx] [test] Change comments to say C++ instead of c++. NFC.
This makes them consistent (many comments already used uppercase). The special REQUIRES, UNSUPPORTED, and XFAIL comments are excluded from this change. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@309468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -68,7 +68,7 @@ int main()
|
||||
{
|
||||
typedef std::basic_string<char, std::char_traits<char>, some_alloc<char>> C;
|
||||
#if TEST_STD_VER >= 14
|
||||
// In c++14, if POCS is set, swapping the allocator is required not to throw
|
||||
// In C++14, if POCS is set, swapping the allocator is required not to throw
|
||||
static_assert( noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
|
||||
#else
|
||||
static_assert(!noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
|
||||
|
Reference in New Issue
Block a user