| 115 | } |
| 116 | |
| 117 | std::vector<std::string> SplitString(const std::string& str, const char delim) { |
| 118 | std::istringstream iss(str); |
| 119 | std::vector<std::string> output(1); |
| 120 | |
| 121 | while (std::getline(iss, *output.rbegin(), delim)) { |
| 122 | output.emplace_back(); |
| 123 | } |
| 124 | |
| 125 | output.pop_back(); |
| 126 | return output; |
| 127 | } |
| 128 | |
| 129 | std::string TabsToSpaces(int tab_size, std::string in) { |
| 130 | std::size_t i = 0; |
no outgoing calls
no test coverage detected