aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/operations.cpp
diff options
context:
space:
mode:
authorBrian Tracy <brian.tracy33@gmail.com>2022-05-05 17:49:23 +0200
committerMark de Wever <koraq@xs4all.nl>2022-05-05 17:52:08 +0200
commit87a55137e2a2a6684a20223494ad46d2fa33aca8 (patch)
tree3faf446512f1a3a392ac9d927925793bcade79e8 /libcxx/src/filesystem/operations.cpp
parentf0d6cb4a5cf5723d7ddab2c7dab74f2f62116a6d (diff)
downloadllvm-87a55137e2a2a6684a20223494ad46d2fa33aca8.zip
llvm-87a55137e2a2a6684a20223494ad46d2fa33aca8.tar.gz
llvm-87a55137e2a2a6684a20223494ad46d2fa33aca8.tar.bz2
Fix "the the" typo in documentation and user facing strings
There are many more instances of this pattern, but I chose to limit this change to .rst files (docs), anything in libcxx/include, and string literals. These have the highest chance of being seen by end users. Reviewed By: #libc, Mordante, martong, ldionne Differential Revision: https://reviews.llvm.org/D124708
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
-rw-r--r--libcxx/src/filesystem/operations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/filesystem/operations.cpp b/libcxx/src/filesystem/operations.cpp
index 562cd8b..7467abb 100644
--- a/libcxx/src/filesystem/operations.cpp
+++ b/libcxx/src/filesystem/operations.cpp
@@ -1884,7 +1884,7 @@ path path::lexically_relative(const path& base) const {
if (ElemCount == 0 && (PP.atEnd() || *PP == PATHSTR("")))
return PATHSTR(".");
- // return a path constructed with 'n' dot-dot elements, followed by the the
+ // return a path constructed with 'n' dot-dot elements, followed by the
// elements of '*this' after the mismatch.
path Result;
// FIXME: Reserve enough room in Result that it won't have to re-allocate.