removeAttributesAtIndex overloads
Synopses
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;
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;
Return Value
A new attribute list with the attributes removed.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
C |
Context used to uniquify the result. |
Index |
Attribute‐set index to clear. |
AttrsToRemove |
Mask of attributes to remove. |
Created with MrDocs