| 219 | } |
| 220 | |
| 221 | bool FeatureUtility::CheckFeatureInternal(const String& feature, bool check_disabled) |
| 222 | { |
| 223 | std::vector<String> features; |
| 224 | |
| 225 | if (!FeatureUtility::GetFeatures(features, check_disabled)) |
| 226 | return false; |
| 227 | |
| 228 | for (const String& check_feature : features) { |
| 229 | if (check_feature == feature) |
| 230 | return true; |
| 231 | } |
| 232 | |
| 233 | return false; |
| 234 | } |
| 235 | |
| 236 | void FeatureUtility::CollectFeatures(const String& feature_file, std::vector<String>& features) |
| 237 | { |
nothing calls this directly
no outgoing calls
no test coverage detected