| 78 | } |
| 79 | |
| 80 | static void validateConfigWithOptions(std::string baseConfigName, |
| 81 | const std::vector<std::string>& options, |
| 82 | const ConfigProto& config) |
| 83 | { |
| 84 | /* All configs must have a tpi. */ |
| 85 | |
| 86 | if (!config.layout().has_format_type()) |
| 87 | configError("{}{}: no layout.format_type set", baseConfigName, options); |
| 88 | } |
| 89 | |
| 90 | static void validateToplevelConfig(std::string name) |
| 91 | { |
no test coverage detected