Home | History | Annotate | Download | only in Lex

Lines Matching refs:Feature

1608 /// Whether to add the requirement \p Feature to the module \p M.
1614 /// should really be mapped to 'textual' now that we have this feature. We
1623 static bool shouldAddRequirement(Module *M, StringRef Feature,
1629 if (Feature == "excluded" && (M->fullModuleNameIs(DarwinCExcluded) ||
1633 } else if (Feature == "cplusplus" && M->fullModuleNameIs(IOKitAVC)) {
1643 /// 'requires' feature-list
1645 /// feature-list:
1646 /// feature ',' feature-list
1647 /// feature
1649 /// feature:
1657 // Parse the feature-list.
1671 // Consume the feature name.
1672 std::string Feature = Tok.getString();
1677 shouldAddRequirement(ActiveModule, Feature, IsRequiresExcludedHack);
1683 // Add this feature.
1684 ActiveModule->addRequirement(Feature, RequiredState, Map.LangOpts,