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

Method ClearCache

IDEHelper/Clang/CDepChecker.cpp:374–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374void CDepChecker::ClearCache()
375{
376 mCPPCount = 0;
377 for (auto pair : mDepFileMap)
378 {
379 delete pair.second;
380 }
381 mDepFileMap.clear();
382
383 for (auto& depFileData : mDepFileData)
384 {
385 delete depFileData.mData;
386 }
387 mDepFileData.clear();
388
389 mFileExistsCache.clear();
390}
391
392bool CDepChecker::CachedFileExists(const StringImpl& filePath)
393{

Callers 2

CDep_GetIncludePositionFunction · 0.45
CDep_ClearCacheFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected