1
0
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:
Bill Wendling 2012-10-15 06:34:18 +00:00
parent 213dd167bc
commit 71e3fa6c01

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;