removeAttributesAtIndex overloads
Declared in <llvm/IR/Attributes.h>
Remove all attributes at the specified index from this attribute list. Returns a new list because attribute lists are immutable.
[[nodiscard]]
AttributeList
removeAttributesAtIndex(
LLVMContext& C,
unsigned int Index) const;
» more...
Remove the specified attributes at the specified index from this attribute list. Returns a new list because attribute lists are immutable.
[[nodiscard]]
AttributeList
removeAttributesAtIndex(
LLVMContext& C,
unsigned int Index,
AttributeMask const& AttrsToRemove) 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. |
| Index | Attribute-set index to clear. |
| AttrsToRemove | Mask of attributes to remove. |