aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-31 11:52:55 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-31 11:52:55 +0000
commit6931055232eb2836dfc3e6dc51f06cee80dadf4b (patch)
treec4534ad558960c66119b9cd8eef97c9fadf15cd5
parent92e287f5bde8d34af9c3f2979afb6cd05bfb452c (diff)
Remove dead method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171295 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Attributes.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index a8fedb8210..c28f0bd090 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -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();