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

Function setAutoTokenProperties

lib/symboldatabase.cpp:6915–6920  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6913}
6914
6915static void setAutoTokenProperties(Token * const autoTok)
6916{
6917 const ValueType *valuetype = autoTok->valueType();
6918 if (valuetype->isIntegral() || valuetype->isFloat())
6919 autoTok->isStandardType(true);
6920}
6921
6922static bool isContainerYieldElement(Library::Container::Yield yield)
6923{

Callers 1

setValueTypeMethod · 0.85

Calls 3

isIntegralMethod · 0.80
isFloatMethod · 0.45
isStandardTypeMethod · 0.45

Tested by

no test coverage detected