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

Method PushPolicy

Source/cmStateSnapshot.cxx:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void cmStateSnapshot::PushPolicy(cmPolicies::PolicyMap const& entry, bool weak)
155{
156 cmStateDetail::PositionType pos = this->Position;
157 pos->Policies = this->State->PolicyStack.Push(
158 pos->Policies, cmStateDetail::PolicyStackEntry(entry, weak));
159}
160
161bool cmStateSnapshot::PopPolicy()
162{

Callers

nothing calls this directly

Calls 2

PolicyStackEntryClass · 0.85
PushMethod · 0.80

Tested by

no test coverage detected