[all-commits] [llvm/llvm-project] d3d605: [FileCheck] Use move semantics instead of std::swa...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Jan 23 05:29:20 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3d605b7cdee132929d32f8b71b01641eb1d6d37
      https://github.com/llvm/llvm-project/commit/d3d605b7cdee132929d32f8b71b01641eb1d6d37
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-01-23 (Thu, 23 Jan 2025)

  Changed paths:
    M llvm/lib/FileCheck/FileCheck.cpp
    M llvm/lib/FileCheck/FileCheckImpl.h

  Log Message:
  -----------
  [FileCheck] Use move semantics instead of std::swap. NFC. (#123304)

This code was using a pre-move-semantics trick of using std::swap to
avoid expensive vector copies.



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