From 2c6893b56817ceb51a523a5d1342fc2317efe251 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 15 Oct 2012 06:34:18 +0000 Subject: Supply a default 'operator=' method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165922 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Attributes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/llvm/Attributes.h') 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 Vals); Attributes(const Attributes &A); + Attributes &operator=(const Attributes &A) { + Attrs = A.Attrs; + return *this; + } class Builder { friend class Attributes; -- cgit v1.2.3