Remove dead method.
authorBill Wendling <isanbard@gmail.com>
Mon, 31 Dec 2012 11:52:55 +0000 (11:52 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 31 Dec 2012 11:52:55 +0000 (11:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171295 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Attributes.h

index a8fedb8210b8c68041434f330ae0c21a4a104893..c28f0bd09075de6a5c97f29c25792905e8782129 100644 (file)
@@ -333,12 +333,6 @@ public:
     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();