MCPcopy Create free account
hub / github.com/Kitware/CMake / PushScope

Method PushScope

Source/cmMakefile.cxx:3779–3788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3777}
3778
3779void cmMakefile::PushScope()
3780{
3781 this->StateSnapshot =
3782 this->GetState()->CreateVariableScopeSnapshot(this->StateSnapshot);
3783 this->PushLoopBlockBarrier();
3784
3785#if !defined(CMAKE_BOOTSTRAP)
3786 this->GetGlobalGenerator()->GetFileLockPool().PushFunctionScope();
3787#endif
3788}
3789
3790void cmMakefile::PopScope()
3791{

Callers 1

ScopePushPopMethod · 0.80

Calls 5

GetStateMethod · 0.95
PushLoopBlockBarrierMethod · 0.95
GetGlobalGeneratorMethod · 0.95
PushFunctionScopeMethod · 0.45

Tested by

no test coverage detected