aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-09 05:54:39 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-09 05:54:39 +0000
commit50cf36351cefbc64bca9b82b4a3897394feecac7 (patch)
treef2ad4236dd7cfe87e299b7cd4f496738c5823aed /include/llvm/Function.h
parent1d872103fa200d9ad59f20543983e29fa8a97a00 (diff)
Remove some dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 752fe0bbfc..f5bed69e65 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -206,11 +206,6 @@ public:
return AttributeList.getParamAttributes(Idx);
}
- /// @brief Determine whether the function has the given attribute.
- bool paramHasAttr(unsigned i, Attributes attr) const {
- return AttributeList.paramHasAttr(i, attr);
- }
-
/// addAttribute - adds the attribute to the list of attributes.
void addAttribute(unsigned i, Attributes attr);