aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-30 13:01:51 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-30 13:01:51 +0000
commit8b62abdd7b9c8fc5d78dad86093f4afdfeba949d (patch)
tree1e31cb7d94432b4c39477daa52c4248cb1891f93 /include/llvm/Function.h
parent39cd0c8e477255a7296b2bd1dc67193f8d38c003 (diff)
Remove the Function::getRetAttributes method in favor of using the AttributeSet accessor method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171256 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 1a65950aa8..db61250a60 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -189,11 +189,6 @@ public:
void setGC(const char *Str);
void clearGC();
- /// getRetAttributes - Return the return attributes for querying.
- Attribute getRetAttributes() const {
- return AttributeList.getRetAttributes();
- }
-
/// addAttribute - adds the attribute to the list of attributes.
void addAttribute(unsigned i, Attribute attr);