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

Function updateState

lib/vf_analyzers.cpp:765–770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763 }
764
765 void updateState(const Token* tok) override
766 {
767 // Update program state
768 pms.removeModifiedVars(tok);
769 pms.addState(tok, getProgramState());
770 }
771
772 void update(Token* tok, Action a, Direction d) override {
773 ValueFlow::Value* value = getValue(tok);

Callers

nothing calls this directly

Calls 2

removeModifiedVarsMethod · 0.80
addStateMethod · 0.80

Tested by

no test coverage detected