Home | History | Annotate | Download | only in Lex

Lines Matching refs:Feature

1610 /// Whether to add the requirement \p Feature to the module \p M.
1616 /// should really be mapped to 'textual' now that we have this feature. We
1625 static bool shouldAddRequirement(Module *M, StringRef Feature,
1631 if (Feature == "excluded" && (M->fullModuleNameIs(DarwinCExcluded) ||
1635 } else if (Feature == "cplusplus" && M->fullModuleNameIs(IOKitAVC)) {
1645 /// 'requires' feature-list
1647 /// feature-list:
1648 /// feature ',' feature-list
1649 /// feature
1651 /// feature:
1659 // Parse the feature-list.
1673 // Consume the feature name.
1674 std::string Feature = Tok.getString();
1679 shouldAddRequirement(ActiveModule, Feature, IsRequiresExcludedHack);
1685 // Add this feature.
1686 ActiveModule->addRequirement(Feature, RequiredState, Map.LangOpts,