summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/iterators
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-01-18 20:10:25 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-01-18 20:10:25 +0000
commita730ed31491b32b2b3b9c1a08bcd915b9b7cd167 (patch)
tree34253a5a2b01113c79130c032c02cdb784f61be3 /libcxx/test/std/iterators
parent589de5ea4e5391930c459f97f71f80d754587994 (diff)
downloadbcm5719-llvm-a730ed31491b32b2b3b9c1a08bcd915b9b7cd167.tar.gz
bcm5719-llvm-a730ed31491b32b2b3b9c1a08bcd915b9b7cd167.zip
[libcxx] [test] Fix comment typos, strip trailing whitespace.
No functional change, no code review. llvm-svn: 292434
Diffstat (limited to 'libcxx/test/std/iterators')
-rw-r--r--libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp2
-rw-r--r--libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp2
-rw-r--r--libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
index 7f807b63e3c..fc6dc0009a0 100644
--- a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
+++ b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/copy.pass.cpp
@@ -13,7 +13,7 @@
// istream_iterator(const istream_iterator& x);
// C++17 says: If is_trivially_copy_constructible_v<T> is true, then
-// this constructor shall beis a trivial copy constructor.
+// this constructor is a trivial copy constructor.
#include <iterator>
#include <sstream>
diff --git a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp
index 32dc62817bc..3b643bb441e 100644
--- a/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp
+++ b/libcxx/test/std/iterators/stream.iterators/istream.iterator/istream.iterator.cons/default.pass.cpp
@@ -17,7 +17,7 @@
// constexpr istream_iterator();
// C++17 says: If is_trivially_default_constructible_v<T> is true, then this
-// constructor shall beis a constexpr constructor.
+// constructor is a constexpr constructor.
#include <iterator>
#include <cassert>
diff --git a/libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp b/libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp
index b1bf75b1195..a680aa3f499 100644
--- a/libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp
+++ b/libcxx/test/std/iterators/stream.iterators/istream.iterator/types.pass.cpp
@@ -29,11 +29,11 @@
// If T is a literal type, then this destructor shall be a trivial destructor.
// C++17 says:
// If is_trivially_default_constructible_v<T> is true, then
-// this constructor (the default ctor) shall beis a constexpr constructor.
+// this constructor (the default ctor) is a constexpr constructor.
// If is_trivially_copy_constructible_v<T> is true, then
-// this constructor (the copy ctor) shall beis a trivial copy constructor.
+// this constructor (the copy ctor) is a trivial copy constructor.
// If is_trivially_destructible_v<T> is true, then this
-// destructor shall beis a trivial destructor.
+// destructor is a trivial destructor.
// Testing the C++17 ctors for this are in the ctor tests.
#include <iterator>
OpenPOWER on IntegriCloud