[VFS][NFC] Fix typo in comment
authorJan Korous <jkorous@apple.com>
Tue, 5 May 2020 20:54:37 +0000 (13:54 -0700)
committerJan Korous <jkorous@apple.com>
Tue, 5 May 2020 20:55:27 +0000 (13:55 -0700)
llvm/include/llvm/Support/VirtualFileSystem.h

index f13140c..28fd329 100644 (file)
@@ -656,7 +656,7 @@ private:
   // 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)))