[all-commits] [llvm/llvm-project] 46ecf4: [Support] Drop unnecessary std::move in JSON.h (NF...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Nov 1 23:20:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46ecf458e16bde0b5784d1cfe7837f683e54ee0d
      https://github.com/llvm/llvm-project/commit/46ecf458e16bde0b5784d1cfe7837f683e54ee0d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-11-01 (Sat, 01 Nov 2025)

  Changed paths:
    M llvm/include/llvm/Support/JSON.h

  Log Message:
  -----------
  [Support] Drop unnecessary std::move in JSON.h (NFC) (#166027)

fixUTF8 takes StringRef, so we do not need std::move here.

Identified with performance-move-const-arg.



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