llvm.org GIT mirror llvm / 1cc0d5a
Privitize some the copy c'tor and assignment operator of uniquified objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173632 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
1 changed file(s) with 8 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3131 LLVMContext &Context;
3232 Constant *Data;
3333 SmallVector Vals;
34
35 // AttributesImpl is uniqued, these should not be publicly available.
36 void operator=(const AttributeImpl &) LLVM_DELETED_FUNCTION;
37 AttributeImpl(const AttributeImpl &) LLVM_DELETED_FUNCTION;
3438 public:
3539 explicit AttributeImpl(LLVMContext &C, uint64_t data);
3640 explicit AttributeImpl(LLVMContext &C, Attribute::AttrKind data);
7781
7882 AttributeSetNode(ArrayRef Attrs)
7983 : AttrList(Attrs.begin(), Attrs.end()) {}
84
85 // AttributesSetNode is uniqued, these should not be publicly available.
86 void operator=(const AttributeSetNode &) LLVM_DELETED_FUNCTION;
87 AttributeSetNode(const AttributeSetNode &) LLVM_DELETED_FUNCTION;
8088 public:
8189 static AttributeSetNode *get(LLVMContext &C, ArrayRef Attrs);
8290