Parses an Objective-C selector name into its component parts.
Declared in <llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h>
std::optional<ObjCSelectorNames>
getObjCNamesIfSelector(StringRef Name);
If Name is the AT_name of a DIE which refers to an Objective-C selector, returns an instance of ObjCSelectorNames. The Selector and ClassName fields are guaranteed to be non-empty in the result.
Parsed selector components, or std::nullopt if Name is not a selector.
| Name | Description |
|---|---|
| Name | DIE AT_name to parse as an Objective-C selector. |