| 2493 | } |
| 2494 | |
| 2495 | static bool isTrivialConstructor(const Token* tok) |
| 2496 | { |
| 2497 | const Token* typeTok = nullptr; |
| 2498 | const Type* t = Token::typeOf(tok, &typeTok); |
| 2499 | if (t) |
| 2500 | return false; |
| 2501 | if (typeTok->valueType() && typeTok->valueType()->isPrimitive()) |
| 2502 | return true; |
| 2503 | return false; |
| 2504 | } |
| 2505 | |
| 2506 | bool isMutableExpression(const Token* tok) |
| 2507 | { |
no outgoing calls
no test coverage detected