mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +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:
@@ -125,8 +125,8 @@ class AttributeListImpl : public FoldingSetNode {
|
||||
sys::cas_flag RefCount;
|
||||
|
||||
// AttributesList is uniqued, these should not be publicly available.
|
||||
void operator=(const AttributeListImpl &); // Do not implement
|
||||
AttributeListImpl(const AttributeListImpl &); // Do not implement
|
||||
void operator=(const AttributeListImpl &) LLVM_DELETED_FUNCTION;
|
||||
AttributeListImpl(const AttributeListImpl &) LLVM_DELETED_FUNCTION;
|
||||
~AttributeListImpl(); // Private implementation
|
||||
public:
|
||||
SmallVector<AttributeWithIndex, 4> Attrs;
|
||||
|
||||
Reference in New Issue
Block a user