diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:35:59 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-14 07:35:59 +0000 |
commit | c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb (patch) | |
tree | a480d12bd585e710db7b7c25f37ec10eac7ce1cd /include | |
parent | 432e606cf126e38f3f2a0a9f3348dfac34915bee (diff) | |
download | external_llvm-c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb.zip external_llvm-c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb.tar.gz external_llvm-c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb.tar.bz2 |
Remove the bitwise assignment 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@165895 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Attributes.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index 268fc5a..08cfb86 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -236,7 +236,6 @@ public: } Attributes operator & (const Attributes &A) const; - Attributes &operator |= (const Attributes &A); Attributes &operator &= (const Attributes &A); uint64_t Raw() const; @@ -351,7 +350,7 @@ public: /// addAttr - Add the specified attribute at the specified index to this /// attribute list. Since attribute lists are immutable, this /// returns the new list. - AttrListPtr addAttr(unsigned Idx, Attributes Attrs) const; + AttrListPtr addAttr(LLVMContext &C, unsigned Idx, Attributes Attrs) const; /// removeAttr - Remove the specified attribute at the specified index from /// this attribute list. Since attribute lists are immutable, this |