diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-15 06:34:18 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-15 06:34:18 +0000 |
commit | 2c6893b56817ceb51a523a5d1342fc2317efe251 (patch) | |
tree | 34b45e9648c55cb368695436728dde03b295cd4c | |
parent | 05cc40d20c0f3b2f1bd5cb86ceb9f32d07cae110 (diff) |
Supply a default 'operator=' method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165922 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Attributes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index 2fc7bd1c55..afb2e564f0 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -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; |