Return the subsection optionality ID for the given spelling.

Synopsis

Declared in <llvm/Support/AArch64BuildAttributes.h>

SubsectionOptional
getOptionalID(StringRef Optional);

Return Value

The matching SubsectionOptional, or OPTIONAL_NOT_FOUND if unrecognized.

Parameters

Name

Description

Optional

Optionality string ("required" or "optional").

Created with MrDocs