mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Supply a default 'operator=' method.
llvm-svn: 165922
This commit is contained in:
parent
213dd167bc
commit
71e3fa6c01
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user