summaryrefslogtreecommitdiff
path: root/clang-tools-extra/clangd/PathMapping.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-04-05 15:28:11 +0900
committerKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-04-05 15:28:40 +0900
commitdd5571d51a0f6164cb66d02c8cd0e7032e42abe4 (patch)
tree6e03382aa6f84bb299c249acdec3568841e3ccdb /clang-tools-extra/clangd/PathMapping.cpp
parent86b97f00a284493aabfae62aa14064121c296326 (diff)
downloadllvm-dd5571d51a0f6164cb66d02c8cd0e7032e42abe4.tar.gz
[clang-tools-extra] NFC: Fix trivial typo in documents and comments
Differential Revision: https://reviews.llvm.org/D77458
Diffstat (limited to 'clang-tools-extra/clangd/PathMapping.cpp')
-rw-r--r--clang-tools-extra/clangd/PathMapping.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/PathMapping.cpp b/clang-tools-extra/clangd/PathMapping.cpp
index 8740d582a403..eb568b917966 100644
--- a/clang-tools-extra/clangd/PathMapping.cpp
+++ b/clang-tools-extra/clangd/PathMapping.cpp
@@ -21,7 +21,7 @@ namespace clangd {
llvm::Optional<std::string> doPathMapping(llvm::StringRef S,
PathMapping::Direction Dir,
const PathMappings &Mappings) {
- // Retrun early to optimize for the common case, wherein S is not a file URI
+ // Return early to optimize for the common case, wherein S is not a file URI
if (!S.startswith("file://"))
return llvm::None;
auto Uri = URI::parse(S);