summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Attributes.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm/Attributes.h b/llvm/include/llvm/Attributes.h
index a8fedb8210b..c28f0bd0907 100644
--- a/llvm/include/llvm/Attributes.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud