diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-01-21 22:44:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-01-21 22:44:49 +0000 |
commit | 3fc4b96b503fa202411317684a2ba02e41e43072 (patch) | |
tree | 232625bd4381c5b6dd7c7bbec178598e7fd131ac /include | |
parent | c5f1bc88a2eb7ad9ff924ca90cf88494e5f947b9 (diff) | |
download | external_llvm-3fc4b96b503fa202411317684a2ba02e41e43072.zip external_llvm-3fc4b96b503fa202411317684a2ba02e41e43072.tar.gz external_llvm-3fc4b96b503fa202411317684a2ba02e41e43072.tar.bz2 |
Have AttributeSet::getRetAttributes() return an AttributeSet instead of Attribute.
This further restricts the use of the Attribute class to the Attribute family of
classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/Attributes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 121eae2..ef80b4d 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -254,9 +254,7 @@ public: } /// \brief The attributes for the ret value are returned. - Attribute getRetAttributes() const { - return getAttributes(ReturnIndex); - } + AttributeSet getRetAttributes() const; /// \brief The function attributes are returned. AttributeSet getFnAttributes() const; |