Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ isVolatile
Method
isVolatile
lib/symboldatabase.cpp:8465–8470 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8463
}
8464
8465
bool ValueType::isVolatile(nonneg int indirect) const
8466
{
8467
if (indirect > pointer)
8468
return false;
8469
return volatileness & (1 << (pointer - indirect));
8470
}
8471
8472
namespace {
8473
struct Result
Callers
13
hasVolatileCastOrVar
Function · 0.80
printOut
Method · 0.80
printXml
Method · 0.80
getOverriddenFunctionRecursive
Method · 0.80
setValueTypeInTokenList
Method · 0.80
valueFlowGlobalConstVar
Function · 0.80
valueFlowForwardAssign
Function · 0.80
checkConstVariable
Method · 0.80
returnLocalStdMove
Method · 0.80
followVariableExpression
Function · 0.80
isConstExpression
Function · 0.80
variableVolatile
Method · 0.80
Calls
no outgoing calls
Tested by
2
variableVolatile
Method · 0.64
symboldatabase69
Method · 0.64