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

Method GetCallStackBottom

Source/cmStateSnapshot.cxx:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140cmStateSnapshot cmStateSnapshot::GetCallStackBottom() const
141{
142 assert(this->State);
143 assert(this->Position != this->State->SnapshotData.Root());
144
145 cmStateDetail::PositionType pos = this->Position;
146 while (pos->SnapshotType != cmStateEnums::BaseType &&
147 pos->SnapshotType != cmStateEnums::BuildsystemDirectoryType &&
148 pos != this->State->SnapshotData.Root()) {
149 ++pos;
150 }
151 return { this->State, pos };
152}
153
154void cmStateSnapshot::PushPolicy(cmPolicies::PolicyMap const& entry, bool weak)
155{

Callers

nothing calls this directly

Calls 1

RootMethod · 0.80

Tested by

no test coverage detected