git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171295
91177308-0d34-0410-b5e6-
96231b3b80d8
return getAttributes(FunctionIndex);
}
- /// \brief Return true if the specified parameter index has the specified
- /// attribute set.
- bool paramHasAttr(unsigned Idx, Attribute Attr) const {
- return getAttributes(Idx).hasAttributes(Attr);
- }
-
/// \brief Return the alignment for the specified function parameter.
unsigned getParamAlignment(unsigned Idx) const {
return getAttributes(Idx).getAlignment();