| 1705 | } |
| 1706 | |
| 1707 | bool CheckIOImpl::ArgumentInfo::isComplexType() const |
| 1708 | { |
| 1709 | if (variableInfo->type()) |
| 1710 | return true; |
| 1711 | |
| 1712 | const Token* varTypeTok = typeToken; |
| 1713 | if (varTypeTok->str() == "std") |
| 1714 | varTypeTok = varTypeTok->tokAt(2); |
| 1715 | |
| 1716 | return ((variableInfo->isStlStringType() || (varTypeTok->strAt(1) == "<" && varTypeTok->linkAt(1) && varTypeTok->linkAt(1)->strAt(1) != "::")) && !variableInfo->isArrayOrPointer()); |
| 1717 | } |
| 1718 | |
| 1719 | bool CheckIOImpl::ArgumentInfo::isKnownType() const |
| 1720 | { |
nothing calls this directly
no test coverage detected