[all-commits] [llvm/llvm-project] 1845d9: [CGP] Disable default copy ctor and copy assignmen...
yubingex007-a11y via All-commits
all-commits at lists.llvm.org
Sat May 27 08:20:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1845d9de187b726dfe074218377c3d77ce43277a
https://github.com/llvm/llvm-project/commit/1845d9de187b726dfe074218377c3d77ce43277a
Author: Bing1 Yu <bing1.yu at intel.com>
Date: 2023-05-27 (Sat, 27 May 2023)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
Log Message:
-----------
[CGP] Disable default copy ctor and copy assignment operator for InstructionRemover
class InstructionRemover 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/D151543
More information about the All-commits
mailing list