[MC] Disable default copy ctor and copy assignment operator for CodeViewContext
authorBing1 Yu <bing1.yu@intel.com>
Wed, 31 May 2023 02:34:55 +0000 (10:34 +0800)
committerBing1 Yu <bing1.yu@intel.com>
Wed, 31 May 2023 02:35:19 +0000 (10:35 +0800)
commitd5001e4f0daa19d41da8715e511acaa125cef0a4
tree30ccfbe70e6c12a8a5fc61fc00365ca12b56b3f0
parent7e99d318fddb8b02bfbd7cfcd0e44281052b382e
[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
llvm/include/llvm/MC/MCCodeView.h