| 248 | //----------------------------------------------------------------------------- |
| 249 | |
| 250 | static void InsertAfter(std::string& source, const std::string_view& find, const std::string_view& replace) |
| 251 | { |
| 252 | const std::string::size_type i = source.find(find, 0); |
| 253 | |
| 254 | if(std::string::npos != i) { |
| 255 | source.insert(i + find.length(), replace); |
| 256 | } |
| 257 | } |
| 258 | //----------------------------------------------------------------------------- |
| 259 | |
| 260 | std::string MakeLineColumnName(const SourceManager& sm, const SourceLocation& loc, const std::string_view& prefix) |
no outgoing calls
no test coverage detected