| 174 | }; |
| 175 | |
| 176 | static std::string FormatMode(Regexp::ParseFlags flags) { |
| 177 | for (size_t i = 0; i < arraysize(parse_modes); i++) |
| 178 | if (parse_modes[i].parse_flags == flags) |
| 179 | return parse_modes[i].desc; |
| 180 | return StringPrintf("%#x", static_cast<uint32_t>(flags)); |
| 181 | } |
| 182 | |
| 183 | // Constructs and saves all the matching engines that |
| 184 | // will be required for the given tests. |
no test coverage detected