mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
No need to call functions which do the same thing as the default.
llvm-svn: 165135
This commit is contained in:
parent
8755cdde9e
commit
3b8e120816
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user