We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60cbba6 commit 577928bCopy full SHA for 577928b
llvm/lib/IR/Attributes.cpp
@@ -1932,8 +1932,8 @@ AttributeList::getParamDereferenceableOrNullBytes(unsigned Index) const {
1932
}
1933
1934
std::optional<ConstantRange>
1935
-AttributeList::getParamRange(unsigned Index) const {
1936
- auto RangeAttr = getParamAttrs(Index).getAttribute(Attribute::Range);
+AttributeList::getParamRange(unsigned ArgNo) const {
+ auto RangeAttr = getParamAttrs(ArgNo).getAttribute(Attribute::Range);
1937
if (RangeAttr.isValid())
1938
return RangeAttr.getRange();
1939
return std::nullopt;
0 commit comments