Remove dead methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2012-10-14 09:21:44 +00:00
parent 7be7848e17
commit e82a040ee0
3 changed files with 0 additions and 13 deletions

View File

@ -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;
}

View File

@ -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 {

View File

@ -89,10 +89,6 @@ unsigned Attributes::getStackAlignment() const {
return 1U << ((Attrs.getStackAlignment() >> 26) - 1);
}
bool Attributes::isEmptyOrSingleton() const {
return Attrs.isEmptyOrSingleton();
}
uint64_t Attributes::Raw() const {
return Attrs.Bits;
}
@ -317,10 +313,6 @@ uint64_t AttributesImpl::getStackAlignment() const {
return Bits & getAttrMask(Attributes::StackAlignment);
}
bool AttributesImpl::isEmptyOrSingleton() const {
return (Bits & (Bits - 1)) == 0;
}
//===----------------------------------------------------------------------===//
// AttributeListImpl Definition
//===----------------------------------------------------------------------===//