MCPcopy Create free account
hub / github.com/beefytech/Beef / CleanupFileInstances

Method CleanupFileInstances

IDEHelper/Compiler/BfModule.cpp:1201–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199}
1200
1201void BfModule::CleanupFileInstances()
1202{
1203 for (auto& itr : mNamedFileInstanceMap)
1204 {
1205 BfLogSysM("FileInstance deleted: %p\n", itr.mValue);
1206 delete itr.mValue;
1207 }
1208 mCurFilePosition.mFileInstance = NULL;//
1209 mFileInstanceMap.Clear();
1210 mNamedFileInstanceMap.Clear();
1211}
1212
1213void BfModule::Cleanup()
1214{

Callers 1

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected