Return true if the attribute exists at the given index.
Synopses
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;
Return true if the attribute exists at the given index.
bool
hasAttributeAtIndex(
unsigned int Index,
StringRef Kind) const;
Return Value
true if the attribute exists at the given index.
Parameters
Name |
Description |
Index |
Attribute‐set index to query. |
Kind |
Enum attribute kind to look up. |
Created with MrDocs