diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-03 18:10:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-03 18:10:49 +0000 |
commit | 739dc6e6d84bee77d8af08382967ee86107eea54 (patch) | |
tree | c8dd720762c6813a0159a1564771193f44a096d8 /include | |
parent | 3bd59a9a061a9fbbf77851da698b2665ba581349 (diff) | |
download | llvm-739dc6e6d84bee77d8af08382967ee86107eea54.tar.gz llvm-739dc6e6d84bee77d8af08382967ee86107eea54.tar.bz2 llvm-739dc6e6d84bee77d8af08382967ee86107eea54.tar.xz |
No need to call functions which do the same thing as the default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165135 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Attributes.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index 381aedf957..29700cbaf6 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -518,10 +518,6 @@ public: /// getParamAttributes - The attributes for the specified index are /// returned. Attributes getParamAttributes(unsigned Idx) const { - if (Idx == 0) - return getRetAttributes(); - if (Idx == ~0U) - return getFnAttributes(); return getAttributes(Idx); } |