summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/filesystem/class.path
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/experimental/filesystem/class.path
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/experimental/filesystem/class.path')
-rw-r--r--libcxx/test/std/experimental/filesystem/class.path/path.member/path.append.pass.cpp2
-rw-r--r--libcxx/test/std/experimental/filesystem/class.path/path.member/path.assign/source.pass.cpp6
-rw-r--r--libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp2
-rw-r--r--libcxx/test/std/experimental/filesystem/class.path/synop.pass.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.append.pass.cpp b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.append.pass.cpp
index f344e115307..a6172d1981c 100644
--- a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.append.pass.cpp
+++ b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.append.pass.cpp
@@ -131,7 +131,7 @@ void doAppendSourceAllocTest(AppendOperatorTestcase const& TC)
assert(LHS == E);
}
// input iterator - For non-native char types, appends needs to copy the
- // iterator range into a contigious block of memory before it can perform the
+ // iterator range into a contiguous block of memory before it can perform the
// code_cvt conversions.
// For "char" no allocations will be performed because no conversion is
// required.
diff --git a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.assign/source.pass.cpp b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.assign/source.pass.cpp
index 987c873218c..8c31ef51d94 100644
--- a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.assign/source.pass.cpp
+++ b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.assign/source.pass.cpp
@@ -50,7 +50,7 @@ void RunTestCase(MultiStringType const& MS) {
const std::basic_string<CharT> S(TestPath);
path p; PathReserve(p, S.length() + 1);
{
- // string provides a contigious iterator. No allocation needed.
+ // string provides a contiguous iterator. No allocation needed.
DisableAllocationGuard g;
path& pref = (p = S);
assert(&pref == &p);
@@ -76,7 +76,7 @@ void RunTestCase(MultiStringType const& MS) {
const std::basic_string_view<CharT> S(TestPath);
path p; PathReserve(p, S.length() + 1);
{
- // string provides a contigious iterator. No allocation needed.
+ // string provides a contiguous iterator. No allocation needed.
DisableAllocationGuard g;
path& pref = (p = S);
assert(&pref == &p);
@@ -102,7 +102,7 @@ void RunTestCase(MultiStringType const& MS) {
{
path p; PathReserve(p, Size + 1);
{
- // char* pointers are contigious and can be used with code_cvt directly.
+ // char* pointers are contiguous and can be used with code_cvt directly.
// no allocations needed.
DisableAllocationGuard g;
path& pref = (p = TestPath);
diff --git a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp
index 89269362d06..76df0e9eef7 100644
--- a/libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp
+++ b/libcxx/test/std/experimental/filesystem/class.path/path.member/path.concat.pass.cpp
@@ -132,7 +132,7 @@ void doConcatSourceAllocTest(ConcatOperatorTestcase const& TC)
assert(LHS == E);
}
// input iterator - For non-native char types, appends needs to copy the
- // iterator range into a contigious block of memory before it can perform the
+ // iterator range into a contiguous block of memory before it can perform the
// code_cvt conversions.
// For "char" no allocations will be performed because no conversion is
// required.
diff --git a/libcxx/test/std/experimental/filesystem/class.path/synop.pass.cpp b/libcxx/test/std/experimental/filesystem/class.path/synop.pass.cpp
index b0a7b5cd65e..883feb287d0 100644
--- a/libcxx/test/std/experimental/filesystem/class.path/synop.pass.cpp
+++ b/libcxx/test/std/experimental/filesystem/class.path/synop.pass.cpp
@@ -32,7 +32,7 @@ int main() {
{
ASSERT_SAME_TYPE(const path::value_type, decltype(path::preferred_separator));
static_assert(path::preferred_separator == '/', "");
- // Make preferred_separator ODR used by taking it's address.
+ // Make preferred_separator ODR used by taking its address.
const char* dummy = &path::preferred_separator;
((void)dummy);
}
OpenPOWER on IntegriCloud