diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-27 23:41:29 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-27 23:41:29 +0000 |
commit | d05204aea4977eaec25e96bc7605a7bb9d806fc0 (patch) | |
tree | 45de322cc717d8d239c4d81686520f55e4fd84e0 /include/llvm | |
parent | 2d5be6c313c0f9e23e56620fa8f8ae8d9b539bf0 (diff) | |
download | external_llvm-d05204aea4977eaec25e96bc7605a7bb9d806fc0.zip external_llvm-d05204aea4977eaec25e96bc7605a7bb9d806fc0.tar.gz external_llvm-d05204aea4977eaec25e96bc7605a7bb9d806fc0.tar.bz2 |
Push the calculation of the 'Raw' attribute mask down into the implementation. It in turn uses the correct list for calculating the 'Raw' value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/IR/Attributes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 5eca5d6..297abb9 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -234,7 +234,10 @@ private: public: AttributeSet() : pImpl(0) {} AttributeSet(const AttributeSet &P) : pImpl(P.pImpl) {} - const AttributeSet &operator=(const AttributeSet &RHS); + const AttributeSet &operator=(const AttributeSet &RHS) { + pImpl = RHS.pImpl; + return *this; + } //===--------------------------------------------------------------------===// // Attribute List Construction and Mutation |