| 443 | } |
| 444 | |
| 445 | static void valueFlowString(TokenList& tokenlist, const Settings& settings) |
| 446 | { |
| 447 | for (Token* tok = tokenlist.front(); tok; tok = tok->next()) { |
| 448 | if (tok->tokType() == Token::eString) { |
| 449 | ValueFlow::Value strvalue; |
| 450 | strvalue.valueType = ValueFlow::Value::ValueType::TOK; |
| 451 | strvalue.tokvalue = tok; |
| 452 | strvalue.setKnown(); |
| 453 | setTokenValue(tok, std::move(strvalue), settings); |
| 454 | } |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | static const Token* findTypeEnd(const Token* tok) |
| 459 | { |
no test coverage detected