clang 23.0.0git
FeatureLookupBuilder Struct Reference

A helper class for "hasFeature" lookups (mimicking a StringSwitch). More...

Public Member Functions

 FeatureLookupBuilder (AArch64FeatureSet &Features)
FeatureLookupBuilderCase (StringRef Feat, bool HasFeature)
FeatureLookupBuilderCases (ArrayRef< StringRef > Feats, bool HasFeature)

Detailed Description

A helper class for "hasFeature" lookups (mimicking a StringSwitch).

Definition at line 843 of file AArch64.cpp.

Constructor & Destructor Documentation

◆ FeatureLookupBuilder()

FeatureLookupBuilder::FeatureLookupBuilder ( AArch64FeatureSet & Features)
inline

Definition at line 844 of file AArch64.cpp.

Referenced by Case(), and Cases().

Member Function Documentation

◆ Case()

FeatureLookupBuilder & FeatureLookupBuilder::Case ( StringRef Feat,
bool HasFeature )
inline

Definition at line 848 of file AArch64.cpp.

References FeatureLookupBuilder(), and HasFeature().

◆ Cases()

FeatureLookupBuilder & FeatureLookupBuilder::Cases ( ArrayRef< StringRef > Feats,
bool HasFeature )
inline

Definition at line 854 of file AArch64.cpp.

References FeatureLookupBuilder(), and HasFeature().


The documentation for this struct was generated from the following file: