diff options
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); } |