Remove the specified attribute at the specified arg index from this attribute list. Returns a new list because attribute lists are immutable.
Declared in <llvm/IR/Attributes.h>
Remove the specified attribute at the specified arg index from this attribute list. Returns a new list because attribute lists are immutable.
[[nodiscard]]
AttributeList
removeParamAttribute(
LLVMContext& C,
unsigned int ArgNo,
Attribute::AttrKind Kind) const;
» more...
Remove the specified attribute at the specified arg index from this attribute list. Returns a new list because attribute lists are immutable.
[[nodiscard]]
AttributeList
removeParamAttribute(
LLVMContext& C,
unsigned int ArgNo,
StringRef Kind) const;
» more...
A new attribute list with the attributes removed.
The return value should not be discarded.
| Name | Description |
|---|---|
| C | Context used to uniquify the result. |
| ArgNo | Zero-based argument index. |
| Kind | Enum attribute kind to remove. |