summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/utilities/tuple
diff options
context:
space:
mode:
authorStephan T. Lavavej <stl@exchange.microsoft.com>2017-02-05 22:48:20 +0000
committerStephan T. Lavavej <stl@exchange.microsoft.com>2017-02-05 22:48:20 +0000
commit881d861346024aac84a49cbf0e559cacebcf3794 (patch)
treed17e3895a829f3fec28468eee25b7a4dc32d3078 /libcxx/test/std/utilities/tuple
parentae2798fc53654659c07d082f48284d6bf1085851 (diff)
downloadbcm5719-llvm-881d861346024aac84a49cbf0e559cacebcf3794.tar.gz
bcm5719-llvm-881d861346024aac84a49cbf0e559cacebcf3794.zip
[libcxx] [test] Fix comment typos.
No functional change, no code review. llvm-svn: 294160
Diffstat (limited to 'libcxx/test/std/utilities/tuple')
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp2
-rw-r--r--libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
index eee1dd88253..bd91ce61b4e 100644
--- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/make_from_tuple.pass.cpp
@@ -66,7 +66,7 @@ constexpr bool do_constexpr_test(Tuple&& tup) {
return std::make_from_tuple<Tp>(std::forward<Tuple>(tup)).args == tup;
}
-// Needed by do_forwarding_test() since it compare pairs of different types.
+// Needed by do_forwarding_test() since it compares pairs of different types.
template <class T1, class T2, class U1, class U2>
inline bool operator==(const std::pair<T1, T2>& lhs, const std::pair<U1, U2>& rhs) {
return lhs.first == rhs.first && lhs.second == rhs.second;
diff --git a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp
index 4da5fc7f839..07fe9049abd 100644
--- a/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp
+++ b/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc.pass.cpp
@@ -96,7 +96,7 @@ int main()
}
{
// Test that the uses-allocator default constructor does not evaluate
- // it's SFINAE when it otherwise shouldn't be selected. Do this by
+ // its SFINAE when it otherwise shouldn't be selected. Do this by
// using 'NonDefaultConstructible' which will cause a compile error
// if std::is_default_constructible is evaluated on it.
using T = NonDefaultConstructible<>;
OpenPOWER on IntegriCloud