llvm::Attribute::canUseAsFnAttr

Return true if Kind may be used as a function attribute.

Synopsis

Declared in <llvm/IR/Attributes.h>

static
bool
canUseAsFnAttr(AttrKind Kind);

Return Value

true if Kind may be used as a function attribute.

Parameters

NameDescription
KindAttribute kind to test.