Author: stl_msft Date: Wed May 3 20:43:58 2017 New Revision: 302105 URL: http://llvm.org/viewvc/llvm-project?rev=302105&view=rev Log: [libcxx] [test] Strip trailing whitespace. NFC.
Modified: libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp libcxx/trunk/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/owner_less.pass.cpp libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/copy.fail.cpp libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/move.fail.cpp libcxx/trunk/test/std/utilities/template.bitset/bitset.hash/bitset.pass.cpp Modified: libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp (original) +++ libcxx/trunk/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp Wed May 3 20:43:58 2017 @@ -12,7 +12,7 @@ // template <class RandomAccessIterator> // void // random_shuffle(RandomAccessIterator first, RandomAccessIterator last); -// +// // template <class RandomAccessIterator, class RandomNumberGenerator> // void // random_shuffle(RandomAccessIterator first, RandomAccessIterator last, Modified: libcxx/trunk/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp (original) +++ libcxx/trunk/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp Wed May 3 20:43:58 2017 @@ -34,14 +34,14 @@ int main() typedef std::pointer_to_binary_function<int, int, int> PBF; assert((std::ptr_fun<int, int>(identity)(4) == 4)); assert((std::ptr_fun<int, int, int>(sum)(4, 5) == 9)); - + Foo f; assert((std::mem_fn(&Foo::identity)(f, 5) == 5)); assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11)); - + typedef std::mem_fun_ref_t<int, Foo> MFR; typedef std::const_mem_fun_ref_t<int, Foo> CMFR; - + assert((std::mem_fun_ref(&Foo::zero)(f) == 0)); assert((std::mem_fun_ref(&Foo::identity)(f, 5) == 5)); } Modified: libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp (original) +++ libcxx/trunk/test/std/algorithms/alg.modifying.operations/alg.remove/remove_copy_if.pass.cpp Wed May 3 20:43:58 2017 @@ -30,7 +30,7 @@ test() int ia[] = {0, 1, 2, 3, 4, 2, 3, 4, 2}; const unsigned sa = sizeof(ia)/sizeof(ia[0]); int ib[sa]; - OutIter r = std::remove_copy_if(InIter(ia), InIter(ia+sa), + OutIter r = std::remove_copy_if(InIter(ia), InIter(ia+sa), OutIter(ib), equalToTwo); assert(base(r) == ib + sa-3); assert(ib[0] == 0); Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp (original) +++ libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.count/count_if.pass.cpp Wed May 3 20:43:58 2017 @@ -25,7 +25,7 @@ struct eq { bool operator () (int v2) const { return v == v2; } int v; }; - + int main() { Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp (original) +++ libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if.pass.cpp Wed May 3 20:43:58 2017 @@ -25,7 +25,7 @@ struct eq { bool operator () (int v2) const { return v == v2; } int v; }; - + int main() { int ia[] = {0, 1, 2, 3, 4, 5}; Modified: libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp (original) +++ libcxx/trunk/test/std/algorithms/alg.nonmodifying/alg.find/find_if_not.pass.cpp Wed May 3 20:43:58 2017 @@ -25,7 +25,7 @@ struct ne { bool operator () (int v2) const { return v != v2; } int v; }; - + int main() { Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp (original) +++ libcxx/trunk/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp Wed May 3 20:43:58 2017 @@ -32,7 +32,7 @@ int main() static_assert((std::is_same<H::argument_type, T>::value), "" ); static_assert((std::is_same<H::result_type, std::size_t>::value), "" ); ASSERT_NOEXCEPT(H()(T())); - + bool ba[] = {true, false, true, true, false}; T vb(std::begin(ba), std::end(ba)); H h; Modified: libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byte.pass.cpp Wed May 3 20:43:58 2017 @@ -13,7 +13,7 @@ // XFAIL: c++98, c++03, c++11, c++14 -// std::byte is not an integer type, nor a character type. +// std::byte is not an integer type, nor a character type. // It is a distinct type for accessing the bits that ultimately make up object storage. static_assert( std::is_pod<std::byte>::value, "" ); Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.fail.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte& operator<<=(byte& b, IntegerType shift) noexcept; -// This function shall not participate in overload resolution unless +// This function shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.assign.pass.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte& operator<<=(byte& b, IntegerType shift) noexcept; -// This function shall not participate in overload resolution unless +// This function shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. @@ -32,7 +32,7 @@ int main () { constexpr std::byte b3{3}; static_assert(noexcept(b <<= 2), "" ); - + static_assert(std::to_integer<int>(test(b2)) == 8, "" ); static_assert(std::to_integer<int>(test(b3)) == 12, "" ); Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.fail.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte operator <<(byte b, IntegerType shift) noexcept; -// These functions shall not participate in overload resolution unless +// These functions shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. int main () { Modified: libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/lshift.pass.cpp Wed May 3 20:43:58 2017 @@ -17,17 +17,17 @@ // template <class IntegerType> // constexpr byte operator <<(byte b, IntegerType shift) noexcept; -// These functions shall not participate in overload resolution unless +// These functions shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. int main () { constexpr std::byte b1{1}; constexpr std::byte b3{3}; - + static_assert(noexcept(b3 << 2), "" ); static_assert(std::to_integer<int>(b1 << 1) == 2, ""); static_assert(std::to_integer<int>(b1 << 2) == 4, ""); static_assert(std::to_integer<int>(b3 << 4) == 48, ""); - static_assert(std::to_integer<int>(b3 << 6) == 192, ""); + static_assert(std::to_integer<int>(b3 << 6) == 192, ""); } Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.fail.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte operator>>(byte& b, IntegerType shift) noexcept; -// This function shall not participate in overload resolution unless +// This function shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.assign.pass.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte& operator>>=(byte& b, IntegerType shift) noexcept; -// This function shall not participate in overload resolution unless +// This function shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.fail.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte operator >>(byte b, IntegerType shift) noexcept; -// These functions shall not participate in overload resolution unless +// These functions shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. int main () { Modified: libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/rshift.pass.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr byte operator <<(byte b, IntegerType shift) noexcept; -// These functions shall not participate in overload resolution unless +// These functions shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. @@ -29,12 +29,12 @@ constexpr std::byte test(std::byte b) { int main () { constexpr std::byte b100{100}; constexpr std::byte b115{115}; - + static_assert(noexcept(b100 << 2), "" ); static_assert(std::to_integer<int>(b100 >> 1) == 50, ""); static_assert(std::to_integer<int>(b100 >> 2) == 25, ""); static_assert(std::to_integer<int>(b115 >> 3) == 14, ""); - static_assert(std::to_integer<int>(b115 >> 6) == 1, ""); + static_assert(std::to_integer<int>(b115 >> 6) == 1, ""); } Modified: libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.fail.cpp Wed May 3 20:43:58 2017 @@ -17,7 +17,7 @@ // template <class IntegerType> // constexpr IntegerType to_integer(byte b) noexcept; -// This function shall not participate in overload resolution unless +// This function shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. int main () { Modified: libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp (original) +++ libcxx/trunk/test/std/language.support/support.types/byteops/to_integer.pass.cpp Wed May 3 20:43:58 2017 @@ -17,13 +17,13 @@ // template <class IntegerType> // constexpr IntegerType to_integer(byte b) noexcept; -// This function shall not participate in overload resolution unless +// This function shall not participate in overload resolution unless // is_integral_v<IntegerType> is true. int main () { constexpr std::byte b1{1}; constexpr std::byte b3{3}; - + static_assert(noexcept(std::to_integer<int>(b1)), "" ); static_assert(std::is_same<int, decltype(std::to_integer<int>(b1))>::value, "" ); static_assert(std::is_same<long, decltype(std::to_integer<long>(b1))>::value, "" ); Modified: libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp (original) +++ libcxx/trunk/test/std/re/re.alg/re.alg.match/awk.pass.cpp Wed May 3 20:43:58 2017 @@ -620,7 +620,7 @@ int main() { std::cmatch m; const char s[] = "m"; - assert(std::regex_match(s, m, + assert(std::regex_match(s, m, std::regex("[a[=M=]z]", std::regex_constants::awk))); assert(m.size() == 1); assert(!m.prefix().matched); Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp (original) +++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/mutex.pass.cpp Wed May 3 20:43:58 2017 @@ -52,7 +52,7 @@ int main() std::this_thread::sleep_for(ms(250)); m.unlock(); t.join(); - + #ifdef __cpp_deduction_guides std::lock_guard lg(m); static_assert((std::is_same<decltype(lg), std::lock_guard<decltype(m)>>::value), "" ); Modified: libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp (original) +++ libcxx/trunk/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/mutex.pass.cpp Wed May 3 20:43:58 2017 @@ -150,6 +150,6 @@ int main() std::scoped_lock sl{m1, m2, m3}; static_assert((std::is_same<decltype(sl), std::scoped_lock<decltype(m1), decltype(m2), decltype(m3)>>::value), "" ); } - } + } #endif } Modified: libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/owner_less.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/owner_less.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/owner_less.pass.cpp (original) +++ libcxx/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/owner_less.pass.cpp Wed May 3 20:43:58 2017 @@ -69,7 +69,7 @@ int main() static_assert((std::is_same<std::shared_ptr<int>, CS::first_argument_type>::value), "" ); static_assert((std::is_same<std::shared_ptr<int>, CS::second_argument_type>::value), "" ); static_assert((std::is_same<bool, CS::result_type>::value), "" ); - + assert(!cs(p1, p2)); assert(!cs(p2, p1)); assert(cs(p1 ,p3) || cs(p3, p1)); Modified: libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/copy.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/copy.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/copy.fail.cpp (original) +++ libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/copy.fail.cpp Wed May 3 20:43:58 2017 @@ -11,7 +11,7 @@ // <optional> // constexpr optional(const optional<T>& rhs); -// If is_trivially_copy_constructible_v<T> is true, +// If is_trivially_copy_constructible_v<T> is true, // this constructor shall be a constexpr constructor. #include <optional> @@ -26,7 +26,7 @@ struct S { S(const S &rhs) : v_(rhs.v_) {} // make it not trivially copyable int v_; }; - + int main() { Modified: libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/move.fail.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/move.fail.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/move.fail.cpp (original) +++ libcxx/trunk/test/std/utilities/optional/optional.object/optional.object.ctor/move.fail.cpp Wed May 3 20:43:58 2017 @@ -11,7 +11,7 @@ // <optional> // constexpr optional(const optional<T>&& rhs); -// If is_trivially_move_constructible_v<T> is true, +// If is_trivially_move_constructible_v<T> is true, // this constructor shall be a constexpr constructor. #include <optional> @@ -27,7 +27,7 @@ struct S { constexpr S(const S &&rhs) : v_(rhs.v_) {} // not trivially moveable int v_; }; - + int main() { Modified: libcxx/trunk/test/std/utilities/template.bitset/bitset.hash/bitset.pass.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/template.bitset/bitset.hash/bitset.pass.cpp?rev=302105&r1=302104&r2=302105&view=diff ============================================================================== --- libcxx/trunk/test/std/utilities/template.bitset/bitset.hash/bitset.pass.cpp (original) +++ libcxx/trunk/test/std/utilities/template.bitset/bitset.hash/bitset.pass.cpp Wed May 3 20:43:58 2017 @@ -31,7 +31,7 @@ test() static_assert((std::is_same<typename H::argument_type, T>::value), "" ); static_assert((std::is_same<typename H::result_type, std::size_t>::value), "" ); ASSERT_NOEXCEPT(H()(T())); - + H h; T bs(static_cast<unsigned long long>(N)); const std::size_t result = h(bs); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits