From 9ea675ef8c1dee15493ccc13741ae8d34c2f8e93 Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Sat, 29 Jul 2017 00:55:35 +0000 Subject: [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. llvm-svn: 309468 --- .../string.nonmembers/string.special/swap_noexcept.pass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/std/strings/basic.string/string.nonmembers/string.special') diff --git a/libcxx/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp b/libcxx/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp index 88c1bee3251..73727198f28 100644 --- a/libcxx/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp +++ b/libcxx/test/std/strings/basic.string/string.nonmembers/string.special/swap_noexcept.pass.cpp @@ -68,7 +68,7 @@ int main() { typedef std::basic_string, some_alloc> 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(), std::declval())), ""); #else static_assert(!noexcept(swap(std::declval(), std::declval())), ""); -- cgit v1.2.3