Parse Str and return the trait set it matches or TraitSelector::invalid.
Declared in <llvm/Frontend/OpenMP/OMPContext.h>
TraitSelector
getOpenMPContextTraitSelectorKind(
StringRef Str,
TraitSet Set);
The matching TraitSelector, or TraitSelector::invalid if none matches.
| Name | Description |
|---|---|
| Str | Trait selector name to parse. |
| Set | Trait set that scopes the selector lookup. |