Supply a default 'operator=' method.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165922 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2012-10-15 06:34:18 +00:00
parent 05cc40d20c
commit 2c6893b568

View File

@ -95,6 +95,10 @@ public:
Attributes() : Attrs(0) {}
explicit Attributes(LLVMContext &C, ArrayRef<AttrVal> Vals);
Attributes(const Attributes &A);
Attributes &operator=(const Attributes &A) {
Attrs = A.Attrs;
return *this;
}
class Builder {
friend class Attributes;