mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 13:21:43 +00:00
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:
parent
05cc40d20c
commit
2c6893b568
@ -95,6 +95,10 @@ public:
|
|||||||
Attributes() : Attrs(0) {}
|
Attributes() : Attrs(0) {}
|
||||||
explicit Attributes(LLVMContext &C, ArrayRef<AttrVal> Vals);
|
explicit Attributes(LLVMContext &C, ArrayRef<AttrVal> Vals);
|
||||||
Attributes(const Attributes &A);
|
Attributes(const Attributes &A);
|
||||||
|
Attributes &operator=(const Attributes &A) {
|
||||||
|
Attrs = A.Attrs;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
class Builder {
|
class Builder {
|
||||||
friend class Attributes;
|
friend class Attributes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user