aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
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);