Function llvm_sys::core::LLVMGetEnumAttributeKindForName
source · [−]pub unsafe extern "C" fn LLVMGetEnumAttributeKindForName(
Name: *const c_char,
SLen: size_t
) -> c_uint
Expand description
Return a unique id given the name of an enum attribute, or 0 if no attribute by that name exists.
See http://llvm.org/docs/LangRef.html#parameter-attributes and http://llvm.org/docs/LangRef.html#function-attributes for the list of available attributes.
Note that attribute names and IDs are not subject to the same stability guarantees as this API.