[all-commits] [llvm/llvm-project] 7e99d3: [MachineScheduler] Disable default copy ctor and c...

yubingex007-a11y via All-commits all-commits at lists.llvm.org
Tue May 30 19:34:47 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e99d318fddb8b02bfbd7cfcd0e44281052b382e
  Author: Bing1 Yu <bing1.yu at intel.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineScheduler.h

  Log Message:
  [MachineScheduler] Disable default copy ctor and copy assignment operator for SchedBoundary

class SchedBoundary manages resources such as dynamically allocated memory, it's generally a good practice to either implement a custom copy constructor or disable the default one.

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D151686

More information about the All-commits mailing list