diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:17:34 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:17:34 +0000 |
commit | 432e606cf126e38f3f2a0a9f3348dfac34915bee (patch) | |
tree | 57efcbb5f08e77477c2260edfd07d6a0de886e10 /include | |
parent | 3756e70af69096a82b367ee9667e7720ca2201e4 (diff) | |
download | external_llvm-432e606cf126e38f3f2a0a9f3348dfac34915bee.zip external_llvm-432e606cf126e38f3f2a0a9f3348dfac34915bee.tar.gz external_llvm-432e606cf126e38f3f2a0a9f3348dfac34915bee.tar.bz2 |
Remove the bitwise OR operator from the Attributes class. Replace it with the equivalent from the builder class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Attributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index c8f723a..268fc5a 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -131,6 +131,7 @@ public: /// a power of 2) into the form used internally in Attributes. Builder &addStackAlignmentAttr(unsigned Align); + Builder &addAttributes(const Attributes &A); Builder &removeAttributes(const Attributes &A); /// @brief Remove attributes that are used on functions only. @@ -234,7 +235,6 @@ public: return Attrs.Bits != A.Attrs.Bits; } - Attributes operator | (const Attributes &A) const; Attributes operator & (const Attributes &A) const; Attributes &operator |= (const Attributes &A); Attributes &operator &= (const Attributes &A); |