| 173 | } |
| 174 | |
| 175 | static std::string replaceAll(std::string s, const std::string& from, const std::string& to) |
| 176 | { |
| 177 | for (size_t pos = s.find(from); pos != std::string::npos; pos = s.find(from, pos + to.size())) |
| 178 | s.replace(pos, from.size(), to); |
| 179 | return s; |
| 180 | } |
| 181 | |
| 182 | void simplecpp::Location::adjust(const std::string &str) |
| 183 | { |
no test coverage detected