summaryrefslogtreecommitdiff
path: root/include/llvm/Attributes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-14 07:35:59 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-14 07:35:59 +0000
commitc416795feaaa2052f7b46fa7a3f9b6ec3751b1eb (patch)
treea480d12bd585e710db7b7c25f37ec10eac7ce1cd /include/llvm/Attributes.h
parent432e606cf126e38f3f2a0a9f3348dfac34915bee (diff)
downloadllvm-c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb.tar.gz
llvm-c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb.tar.bz2
llvm-c416795feaaa2052f7b46fa7a3f9b6ec3751b1eb.tar.xz
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/llvm/Attributes.h')
-rw-r--r--include/llvm/Attributes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 268fc5a8e1..08cfb86898 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