aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
parent432e606cf126e38f3f2a0a9f3348dfac34915bee (diff)
downloadexternal_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.h3
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