diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-30 13:01:51 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-30 13:01:51 +0000 |
commit | 8b62abdd7b9c8fc5d78dad86093f4afdfeba949d (patch) | |
tree | 1e31cb7d94432b4c39477daa52c4248cb1891f93 /include | |
parent | 39cd0c8e477255a7296b2bd1dc67193f8d38c003 (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')
-rw-r--r-- | include/llvm/Function.h | 5 | ||||
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 2 |
2 files changed, 1 insertions, 6 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); diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 0a49fae621..d249a42707 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -2217,7 +2217,7 @@ private: /// GetReturnInfo - Given an LLVM IR type and return type attributes, /// compute the return value EVTs and flags, and optionally also /// the offsets, if the return value is being lowered to memory. -void GetReturnInfo(Type* ReturnType, Attribute attr, +void GetReturnInfo(Type* ReturnType, AttributeSet attr, SmallVectorImpl<ISD::OutputArg> &Outs, const TargetLowering &TLI); |