[llvm] e5cffbf - [VFS][NFC] Fix typo in comment
Jan Korous via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 13:55:42 PDT 2020
Author: Jan Korous
Date: 2020-05-05T13:55:27-07:00
New Revision: e5cffbf220658258221f57b6ac8bd35c1446dbae
URL: https://github.com/llvm/llvm-project/commit/e5cffbf220658258221f57b6ac8bd35c1446dbae
DIFF: https://github.com/llvm/llvm-project/commit/e5cffbf220658258221f57b6ac8bd35c1446dbae.diff
LOG: [VFS][NFC] Fix typo in comment
Added:
Modified:
llvm/include/llvm/Support/VirtualFileSystem.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/VirtualFileSystem.h b/llvm/include/llvm/Support/VirtualFileSystem.h
index f13140cd3448..28fd3298e47e 100644
--- a/llvm/include/llvm/Support/VirtualFileSystem.h
+++ b/llvm/include/llvm/Support/VirtualFileSystem.h
@@ -656,7 +656,7 @@ class RedirectingFileSystem : public vfs::FileSystem {
// In a RedirectingFileSystem, keys can be specified in Posix or Windows
// style (or even a mixture of both), so this comparison helper allows
// slashes (representing a root) to match backslashes (and vice versa). Note
- // that, other than the root, patch components should not contain slashes or
+ // that, other than the root, path components should not contain slashes or
// backslashes.
bool pathComponentMatches(llvm::StringRef lhs, llvm::StringRef rhs) const {
if ((CaseSensitive ? lhs.equals(rhs) : lhs.equals_lower(rhs)))
More information about the llvm-commits
mailing list