summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-14 09:21:44 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-14 09:21:44 +0000
commite82a040ee04e7340f3fc9a1d55213ed19167ba72 (patch)
treef34a0c7e357fd60db50d741f69398d4c8accd695 /include
parent7be7848e17f60825f5fbc177b8a25909a30ddb00 (diff)
downloadllvm-e82a040ee04e7340f3fc9a1d55213ed19167ba72.tar.gz
llvm-e82a040ee04e7340f3fc9a1d55213ed19167ba72.tar.bz2
llvm-e82a040ee04e7340f3fc9a1d55213ed19167ba72.tar.xz
Remove dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h3
-rw-r--r--include/llvm/AttributesImpl.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index d3d1177728..a69667b047 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -224,9 +224,6 @@ public:
hasAttribute(Attributes::AddressSafety);
}
- bool isEmptyOrSingleton() const;
-
- // This is a "safe bool() operator".
bool operator == (const Attributes &A) const {
return Attrs.Bits == A.Attrs.Bits;
}
diff --git a/include/llvm/AttributesImpl.h b/include/llvm/AttributesImpl.h
index eea11a7011..93001e279f 100644
--- a/include/llvm/AttributesImpl.h
+++ b/include/llvm/AttributesImpl.h
@@ -36,8 +36,6 @@ public:
uint64_t getAlignment() const;
uint64_t getStackAlignment() const;
- bool isEmptyOrSingleton() const;
-
static uint64_t getAttrMask(uint64_t Val);
void Profile(FoldingSetNodeID &ID) const {