MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isKnownType

Method isKnownType

lib/checkio.cpp:1719–1727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1717}
1718
1719bool CheckIOImpl::ArgumentInfo::isKnownType() const
1720{
1721 if (variableInfo)
1722 return (typeToken->isStandardType() || typeToken->next()->isStandardType() || isComplexType());
1723 if (functionInfo)
1724 return (typeToken->isStandardType() || functionInfo->retType || Token::Match(typeToken, "std :: string|wstring"));
1725
1726 return typeToken->isStandardType() || Token::Match(typeToken, "std :: string|wstring");
1727}
1728
1729bool CheckIOImpl::ArgumentInfo::isLibraryType(const Settings &settings) const
1730{

Callers 1

checkFormatStringMethod · 0.80

Calls 2

nextMethod · 0.80
isStandardTypeMethod · 0.45

Tested by

no test coverage detected