aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-14 06:56:13 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-14 06:56:13 +0000
commit3756e70af69096a82b367ee9667e7720ca2201e4 (patch)
tree29f303e2220864bbb1ac363d36d47996f572b102 /lib/VMCore/Attributes.cpp
parent5886b7bfc82385dfd35b7602304c86075e1d72e6 (diff)
Remove the bitwise XOR 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@165893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Attributes.cpp')
-rw-r--r--lib/VMCore/Attributes.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/VMCore/Attributes.cpp b/lib/VMCore/Attributes.cpp
index 326afc7ba9..e70efc54fa 100644
--- a/lib/VMCore/Attributes.cpp
+++ b/lib/VMCore/Attributes.cpp
@@ -99,9 +99,6 @@ Attributes Attributes::operator | (const Attributes &A) const {
Attributes Attributes::operator & (const Attributes &A) const {
return Attributes(Raw() & A.Raw());
}
-Attributes Attributes::operator ^ (const Attributes &A) const {
- return Attributes(Raw() ^ A.Raw());
-}
Attributes &Attributes::operator |= (const Attributes &A) {
Attrs.Bits |= A.Raw();
return *this;