[libcxx] r294161 - [libcxx] [test] Strip trailing whitespace.
Stephan T. Lavavej via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 5 14:48:28 PST 2017
Author: stl_msft
Date: Sun Feb 5 16:48:27 2017
New Revision: 294161
URL: http://llvm.org/viewvc/llvm-project?rev=294161&view=rev
Log:
[libcxx] [test] Strip trailing whitespace.
No functional change, no code review.
Modified:
libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp
libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp
libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp
Modified: libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp?rev=294161&r1=294160&r2=294161&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/basic.string/string.cons/copy_alloc.pass.cpp Sun Feb 5 16:48:27 2017
@@ -112,15 +112,15 @@ int main()
typedef std::basic_string<char, std::char_traits<char>, A> S;
const char * p1 = "This is my first string";
const char * p2 = "This is my second string";
-
+
alloc_imp<char> imp1;
alloc_imp<char> imp2;
S s1(p1, A(&imp1));
S s2(p2, A(&imp2));
-
+
assert(s1 == p1);
assert(s2 == p2);
-
+
imp2.deactivate();
test_assign(s1, s2);
assert(s1 == p1);
Modified: libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp?rev=294161&r1=294160&r2=294161&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.fail.cpp Sun Feb 5 16:48:27 2017
@@ -15,7 +15,7 @@
// [optional.nullopt]/2:
// Type nullopt_t shall not have a default constructor or an initializer-list constructor.
-// It shall not be an aggregate and shall be a literal type.
+// It shall not be an aggregate and shall be a literal type.
// Constant nullopt shall be initialized with an argument of literal type.
#include <optional>
Modified: libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp?rev=294161&r1=294160&r2=294161&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/optional/optional.nullopt/nullopt_t.pass.cpp Sun Feb 5 16:48:27 2017
@@ -15,7 +15,7 @@
// [optional.nullopt]/2:
// Type nullopt_t shall not have a default constructor or an initializer-list constructor.
-// It shall not be an aggregate and shall be a literal type.
+// It shall not be an aggregate and shall be a literal type.
// Constant nullopt shall be initialized with an argument of literal type.
#include <optional>
More information about the cfe-commits
mailing list