[all-commits] [llvm/llvm-project] d5001e: [MC] Disable default copy ctor and copy assignment...

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

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

  Changed paths:
    M llvm/include/llvm/MC/MCCodeView.h

  Log Message:
  [MC] Disable default copy ctor and copy assignment operator for CodeViewContext

class CodeViewContext 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: skan

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

More information about the All-commits mailing list