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

Note

The return value should not be discarded.

Created with MrDocs