[all-commits] [llvm/llvm-project] 466678: [CodeGen] Disable default copy ctor and copy assig...

yubingex007-a11y via All-commits all-commits at lists.llvm.org
Tue Jun 6 23:32:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 466678b5202052dcd38fdfc3f764fb5d5de7c34b
      https://github.com/llvm/llvm-project/commit/466678b5202052dcd38fdfc3f764fb5d5de7c34b
  Author: Bing1 Yu <bing1.yu at intel.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

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

  Log Message:
  -----------
  [CodeGen] Disable default copy ctor and copy assignment operator for class Array

class Array 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/D152231




More information about the All-commits mailing list