Lines Matching refs:Feature
1047 /// HasFeature - Return true if we recognize and implement the feature
1048 /// specified by the identifier as a standard language feature.
1049 static bool HasFeature(const Preprocessor &PP, StringRef Feature) {
1052 // Normalize the feature name, __foo__ becomes foo.
1053 if (Feature.startswith("__") && Feature.endswith("__") && Feature.size() >= 4)
1054 Feature = Feature.substr(2, Feature.size() - 4);
1056 return llvm::StringSwitch<bool>(Feature)
1225 /// HasExtension - Return true if we recognize and implement the feature
1227 /// feature.
1245 // Because we inherit the feature list from HasFeature, this string switch
1422 /// \brief Process single-argument builtin feature-like macros that return