| 138 | } |
| 139 | |
| 140 | void ConfigurationTypeHelper::forEachConfigType(base::type::EnumType* startIndex, const std::function<bool(void)>& fn) { |
| 141 | base::type::EnumType cIndexMax = ConfigurationTypeHelper::kMaxValid; |
| 142 | do { |
| 143 | if (fn()) { |
| 144 | break; |
| 145 | } |
| 146 | *startIndex = static_cast<base::type::EnumType>(*startIndex << 1); |
| 147 | } while (*startIndex <= cIndexMax); |
| 148 | } |
| 149 | |
| 150 | // Configuration |
| 151 |
nothing calls this directly
no outgoing calls
no test coverage detected