diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-19 09:04:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-19 09:04:58 +0000 |
commit | 5d122b6ec0767a543f797fafc77c1ad8e018b08b (patch) | |
tree | 77c1db0a004283cce68378976611132e48df8d3d /include/llvm/Attributes.h | |
parent | 1d3dcfe4246b4d45fa78a8dfd0a11c7fff842c15 (diff) | |
download | llvm-5d122b6ec0767a543f797fafc77c1ad8e018b08b.tar.gz llvm-5d122b6ec0767a543f797fafc77c1ad8e018b08b.tar.bz2 llvm-5d122b6ec0767a543f797fafc77c1ad8e018b08b.tar.xz |
Inline the only use of the hasParameterOnlyAttrs method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Attributes.h')
-rw-r--r-- | include/llvm/Attributes.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index f03e583fa5..dff4819023 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -117,14 +117,6 @@ public: /// alignment value. unsigned getStackAlignment() const; - /// \brief Attribute that only apply to function parameters. - bool hasParameterOnlyAttrs() const { - return hasAttribute(Attribute::ByVal) || - hasAttribute(Attribute::Nest) || - hasAttribute(Attribute::StructRet) || - hasAttribute(Attribute::NoCapture); - } - /// \brief Attribute that may be applied to the function itself. These cannot /// be used on return values or function parameters. bool hasFunctionOnlyAttrs() const { |