[all-commits] [llvm/llvm-project] f88e01: [clangd] Add explicit std::move(...) to avoid a fe...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Mon Feb 9 03:35:35 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f88e0185d7333827f5342143e7c515fc8fb57020
      https://github.com/llvm/llvm-project/commit/f88e0185d7333827f5342143e7c515fc8fb57020
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M clang-tools-extra/clangd/ClangdLSPServer.cpp

  Log Message:
  -----------
  [clangd] Add explicit std::move(...) to avoid a few copies (#180475)

Moving an std::map is almost always profitable (DiagnosticToDiagRefMap).

Changes suggested by performance-use-std-move from #179467



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list