MCPcopy 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
8465bool ValueType::isVolatile(nonneg int indirect) const
8466{
8467 if (indirect > pointer)
8468 return false;
8469 return volatileness & (1 << (pointer - indirect));
8470}
8471
8472namespace {
8473 struct Result

Callers 13

hasVolatileCastOrVarFunction · 0.80
printOutMethod · 0.80
printXmlMethod · 0.80
valueFlowGlobalConstVarFunction · 0.80
valueFlowForwardAssignFunction · 0.80
checkConstVariableMethod · 0.80
returnLocalStdMoveMethod · 0.80
followVariableExpressionFunction · 0.80
isConstExpressionFunction · 0.80
variableVolatileMethod · 0.80

Calls

no outgoing calls

Tested by 2

variableVolatileMethod · 0.64
symboldatabase69Method · 0.64