[#llvm-Attribute-getAttrKindFromName] = xref:llvm.adoc[llvm]::xref:llvm/Attribute.adoc[Attribute]::getAttrKindFromName :relfileprefix: ../../ :mrdocs: Return the enum attribute kind corresponding to IR name `AttrName.` == Synopsis Declared in `<llvm/IR/Attributes.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:llvm/Attribute/AttrKind.adoc[Attribute::AttrKind] getAttrKindFromName(xref:llvm/StringRef.adoc[StringRef] AttrName); ---- == Return Value The enum attribute kind corresponding to IR name `AttrName.` == Parameters [cols="1,4"] |=== | Name| Description | *AttrName* | Attribute spelling such as `"noalias".` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#