Author: Kadir Cetinkaya
Date: 2025-01-22T16:04:54+01:00
New Revision: a2063ba7ffdbbb4faf5da5f32739ab761c2e4289

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

LOG: [clangd][NFC] Delete a pessimizing move

Added: 
    

Modified: 
    clang-tools-extra/clangd/GlobalCompilationDatabase.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp 
b/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
index 2b1da4be5c1bd6..7c0eb9651feaa0 100644
--- a/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
+++ b/clang-tools-extra/clangd/GlobalCompilationDatabase.cpp
@@ -837,7 +837,7 @@ OverlayCDB::getProjectModules(PathRef File) const {
                                               PathRef CommandPath) {
     Mangler(Command, CommandPath);
   });
-  return std::move(MDB);
+  return MDB;
 }
 
 DelegatingCDB::DelegatingCDB(const GlobalCompilationDatabase *Base)


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

Reply via email to