[all-commits] [llvm/llvm-project] 5daf67: ProfileSummary.h - remove unnecessary std::move.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Jan 23 03:46:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5daf674feba0f57b083113ad7ed486cad433a916
      https://github.com/llvm/llvm-project/commit/5daf674feba0f57b083113ad7ed486cad433a916
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-01-23 (Tue, 23 Jan 2024)

  Changed paths:
    M llvm/include/llvm/IR/ProfileSummary.h

  Log Message:
  -----------
  ProfileSummary.h - remove unnecessary std::move.

The constructor args are passed by reference since d6790a0a3ce769fc6f37b2577c074d30cb92dbc2

Fixes MSVC static analysis warning




More information about the All-commits mailing list