diff options
Diffstat (limited to 'include')
-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; |