Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ astIsPointer
Function
astIsPointer
lib/astutils.cpp:235–238 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
233
}
234
235
bool astIsPointer(const Token *tok)
236
{
237
return tok && tok->valueType() && tok->valueType()->pointer;
238
}
239
240
bool astIsSmartPointer(const Token* tok)
241
{
Callers
15
isNullablePointer
Function · 0.85
getLibraryContainer
Function · 0.85
setTokenValue
Function · 0.85
valueFlowImpossibleValues
Function · 0.85
lifetimeType
Function · 0.85
hasUniqueOwnership
Function · 0.85
valueFlowLifetimeFunction
Function · 0.85
isDecayedPointer
Function · 0.85
valueFlowLifetime
Function · 0.85
isIntegralOrPointer
Function · 0.85
valueFlowInferCondition
Function · 0.85
getContainerSizeFromConstructorArgs
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected