https://github.com/Maddobun updated 
https://github.com/llvm/llvm-project/pull/70798

>From 33e22f554355280e36a7da12484ce8220de77fb5 Mon Sep 17 00:00:00 2001
From: Leo Zhu <yifu....@microchip.com>
Date: Tue, 7 Nov 2023 13:02:51 -0500
Subject: [PATCH] wip

---
 clang-tools-extra/clangd/Protocol.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clang-tools-extra/clangd/Protocol.h 
b/clang-tools-extra/clangd/Protocol.h
index e88c804692568f5..d788d884137c330 100644
--- a/clang-tools-extra/clangd/Protocol.h
+++ b/clang-tools-extra/clangd/Protocol.h
@@ -101,7 +101,7 @@ struct URIForFile {
                                             llvm::StringRef HintPath);
 
   /// Retrieves absolute path to the file.
-  llvm::StringRef file() const { return File; }
+  llvm::StringRef file() const { File; }
 
   explicit operator bool() const { return !File.empty(); }
   std::string uri() const { return URI::createFile(File).toString(); }
@@ -119,7 +119,7 @@ struct URIForFile {
   }
 
 private:
-  explicit URIForFile(std::string &&File) : File(std::move(File)) {}
+  explicit URIForFile(std::string &&File) : 
File(std::move(maybeCaseFoldPath(File))) {}
 
   std::string File;
 };

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to