| 11311 | } |
| 11312 | |
| 11313 | std::string TagInfo::all() const { |
| 11314 | size_t size = 0; |
| 11315 | for (auto const& spelling : spellings) { |
| 11316 | // Add 2 for the brackes |
| 11317 | size += spelling.size() + 2; |
| 11318 | } |
| 11319 | |
| 11320 | std::string out; out.reserve(size); |
| 11321 | for (auto const& spelling : spellings) { |
| 11322 | out += '['; |
| 11323 | out += spelling; |
| 11324 | out += ']'; |
| 11325 | } |
| 11326 | return out; |
| 11327 | } |
| 11328 | |
| 11329 | std::size_t listTags( Config const& config ) { |
| 11330 | TestSpec const& testSpec = config.testSpec(); |
no test coverage detected