MCPcopy Create free account
hub / github.com/argotorg/solidity / clearCache

Method clearCache

libsolidity/ast/Types.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void Type::clearCache() const
136{
137 m_members.clear();
138 m_stackItems.reset();
139 m_stackSize.reset();
140}
141
142void StorageOffsets::computeOffsets(TypePointers const& _types, u256 _baseSlot)
143{

Callers 1

clearCacheFunction · 0.80

Calls 3

clearCacheFunction · 0.85
clearMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected