[clang-tools-extra] 60d7e72 - [clangd] Fix an incorrect comment, NFC.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 01:44:58 PST 2019


Author: Haojian Wu
Date: 2019-12-05T10:43:29+01:00
New Revision: 60d7e723e3ac5223f1a2f6594a93a9fdfb3e69a7

URL: https://github.com/llvm/llvm-project/commit/60d7e723e3ac5223f1a2f6594a93a9fdfb3e69a7
DIFF: https://github.com/llvm/llvm-project/commit/60d7e723e3ac5223f1a2f6594a93a9fdfb3e69a7.diff

LOG: [clangd] Fix an incorrect comment, NFC.

Added: 
    

Modified: 
    clang-tools-extra/clangd/unittests/RenameTests.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/unittests/RenameTests.cpp b/clang-tools-extra/clangd/unittests/RenameTests.cpp
index 1ade0c0443bc..09146f52e5e0 100644
--- a/clang-tools-extra/clangd/unittests/RenameTests.cpp
+++ b/clang-tools-extra/clangd/unittests/RenameTests.cpp
@@ -50,7 +50,7 @@ std::unique_ptr<RefSlab> buildRefSlab(const Annotations &Code,
 }
 
 std::vector<
-    std::pair</*InitialCode*/ std::string, /*CodeAfterRename*/ std::string>>
+    std::pair</*FilePath*/ std::string, /*CodeAfterRename*/ std::string>>
 applyEdits(FileEdits FE) {
   std::vector<std::pair<std::string, std::string>> Results;
   for (auto &It : FE)


        


More information about the cfe-commits mailing list