================ @@ -787,6 +787,11 @@ class AttributeList { [[nodiscard]] AttributeList addRangeRetAttr(LLVMContext &C, const ConstantRange &CR) const; + /// Add the range attribute to the attribute set at the given arg index. + /// Returns a new list because attribute lists are immutable. + [[nodiscard]] AttributeList addRangeParamAttr(LLVMContext &C, unsigned Index, ---------------- nikic wrote:
```suggestion [[nodiscard]] AttributeList addRangeParamAttr(LLVMContext &C, unsigned ArgNo, ``` https://github.com/llvm/llvm-project/pull/91101 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits