mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1121,9 +1121,8 @@ namespace {
|
||||
bool relatedSelect(const SelectInst *A, const Value *B);
|
||||
bool relatedPHI(const PHINode *A, const Value *B);
|
||||
|
||||
// Do not implement.
|
||||
void operator=(const ProvenanceAnalysis &);
|
||||
ProvenanceAnalysis(const ProvenanceAnalysis &);
|
||||
void operator=(const ProvenanceAnalysis &) LLVM_DELETED_FUNCTION;
|
||||
ProvenanceAnalysis(const ProvenanceAnalysis &) LLVM_DELETED_FUNCTION;
|
||||
|
||||
public:
|
||||
ProvenanceAnalysis() {}
|
||||
|
Reference in New Issue
Block a user