llvm.org GIT mirror llvm / 483bbd3
Remove dead method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173524 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
2 changed file(s) with 0 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
335335 /// \brief Return the attributes at the given slot.
336336 AttributeSet getSlotAttributes(unsigned Slot) const;
337337
338 /// \brief Return the AttributeWithIndex at the specified slot. This holds a
339 /// index number plus a set of attributes.
340 const AttributeWithIndex &getSlot(unsigned Slot) const;
341
342338 void dump() const;
343339 };
344340
648648 return AttrList->getSlotAttributes(Slot);
649649 }
650650
651 /// getSlot - Return the AttributeWithIndex at the specified slot. This
652 /// holds a number plus a set of attributes.
653 const AttributeWithIndex &AttributeSet::getSlot(unsigned Slot) const {
654 assert(AttrList && Slot < AttrList->getNumAttributes() &&
655 "Slot # out of range!");
656 return AttrList->getAttributes()[Slot];
657 }
658
659651 bool AttributeSet::hasAttribute(unsigned Index, Attribute::AttrKind Kind) const{
660652 return getAttributes(Index).hasAttribute(Kind);
661653 }