| 3219 | } |
| 3220 | |
| 3221 | static bool isTryEmplace(const Token* tok) |
| 3222 | { |
| 3223 | if (tok->str() != "(" || !Token::simpleMatch(tok->astOperand1(), ".") || !tok->astOperand1()->astOperand1() || !Token::simpleMatch(tok->astOperand1()->astOperand2(), "try_emplace")) |
| 3224 | return false; |
| 3225 | const ValueType* vt = tok->astOperand1()->astOperand1()->valueType(); |
| 3226 | return vt && vt->container && vt->container->stdAssociativeLike; |
| 3227 | } |
| 3228 | |
| 3229 | static void valueFlowAfterMove(const TokenList& tokenlist, const SymbolDatabase& symboldatabase, ErrorLogger& errorLogger, const Settings& settings) |
| 3230 | { |
no test coverage detected