[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:
@@ -72,7 +72,7 @@ int main()
|
||||
{
|
||||
typedef std::deque<MoveOnly, some_alloc<MoveOnly>> 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&>())), "");
|
||||
|
||||
@@ -72,7 +72,7 @@ int main()
|
||||
{
|
||||
typedef std::forward_list<MoveOnly, some_alloc<MoveOnly>> 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&>())), "");
|
||||
|
||||
@@ -72,7 +72,7 @@ int main()
|
||||
{
|
||||
typedef std::list<MoveOnly, some_alloc<MoveOnly>> 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&>())), "");
|
||||
|
||||
@@ -72,7 +72,7 @@ int main()
|
||||
{
|
||||
#if TEST_STD_VER >= 14
|
||||
#if defined(_LIBCPP_VERSION)
|
||||
// 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
|
||||
typedef std::vector<bool, some_alloc<bool>> C;
|
||||
static_assert( noexcept(swap(std::declval<C&>(), std::declval<C&>())), "");
|
||||
#endif // _LIBCPP_VERSION
|
||||
|
||||
@@ -73,7 +73,7 @@ int main()
|
||||
{
|
||||
typedef std::vector<MoveOnly, some_alloc<MoveOnly>> 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