Home | History | Annotate | Download | only in Lex

Lines Matching defs:Feature

588 /// HasFeature - Return true if we recognize and implement the feature
589 /// specified by the identifier as a standard language feature.
592 StringRef Feature = II->getName();
594 // Normalize the feature name, __foo__ becomes foo.
595 if (Feature.startswith("__") && Feature.endswith("__") && Feature.size() >= 4)
596 Feature = Feature.substr(2, Feature.size() - 4);
598 return llvm::StringSwitch<bool>(Feature)
725 /// HasExtension - Return true if we recognize and implement the feature
727 /// feature.
746 // Because we inherit the feature list from HasFeature, this string switch
1055 assert(II == Ident__has_feature && "Must be feature check");