| 1984 | } |
| 1985 | |
| 1986 | static bool isc_strInPlusChain(const Token* tok, const Library::Container* container) |
| 1987 | { |
| 1988 | if (!tok || !tok->valueType() || !tok->valueType()->pointer) |
| 1989 | return false; |
| 1990 | bool result = false; |
| 1991 | visitAstNodes(tok, [&](const Token* tok2) { |
| 1992 | if (Token::simpleMatch(tok2, "+")) |
| 1993 | return ChildrenToVisit::op1_and_op2; |
| 1994 | if (isc_strCall(tok2, container)) { |
| 1995 | result = true; |
| 1996 | return ChildrenToVisit::done; |
| 1997 | } |
| 1998 | return ChildrenToVisit::none; |
| 1999 | }); |
| 2000 | return result; |
| 2001 | } |
| 2002 | |
| 2003 | static bool isc_strAssignment(const Token* tok) |
| 2004 | { |
no test coverage detected