projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef9b8a
)
No need to call functions which do the same thing as the default.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 3 Oct 2012 18:10:49 +0000
(18:10 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 3 Oct 2012 18:10:49 +0000
(18:10 +0000)
llvm-svn: 165135
llvm/include/llvm/Attributes.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Attributes.h
b/llvm/include/llvm/Attributes.h
index
381aedf
..
29700cb
100644
(file)
--- a/
llvm/include/llvm/Attributes.h
+++ b/
llvm/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);
}