Return true if the attribute exists at the given index.
Declared in <llvm/IR/Attributes.h>
Return true if the attribute exists at the given index.
bool
hasAttributeAtIndex(
unsigned int Index,
Attribute::AttrKind Kind) const;
» more...
Return true if the attribute exists at the given index.
bool
hasAttributeAtIndex(
unsigned int Index,
StringRef Kind) const;
» more...
true if the attribute exists at the given index.
| Name | Description |
|---|---|
| Index | Attribute-set index to query. |
| Kind | Enum attribute kind to look up. |