[all-commits] [llvm/llvm-project] 2163ae: [LVStringPool] Remove incorrect std::move (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun May 12 21:55:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2163ae761808ca0e5478357384f6ddbacce279eb
      https://github.com/llvm/llvm-project/commit/2163ae761808ca0e5478357384f6ddbacce279eb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVStringPool.h

  Log Message:
  -----------
  [LVStringPool] Remove incorrect std::move (NFCI)

"Value" is still used afterwards in the return value. In this case,
this doesn't actually make a difference because a move for a
primitive type is the same as a copy, so there is no actual
misbehavior. Still drop the std::move to make the code less
confusing.



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