| 277 | } |
| 278 | |
| 279 | bool astIsContainerString(const Token* tok) |
| 280 | { |
| 281 | if (!tok) |
| 282 | return false; |
| 283 | if (!tok->valueType()) |
| 284 | return false; |
| 285 | const Library::Container* container = tok->valueType()->container; |
| 286 | if (!container) |
| 287 | return false; |
| 288 | return container->stdStringLike; |
| 289 | } |
| 290 | |
| 291 | static std::pair<const Token*, const Library::Container*> getContainerFunction(const Token* tok, const Library& library) |
| 292 | { |
no outgoing calls
no test coverage detected