| 93 | } |
| 94 | |
| 95 | cmStateSnapshot cmStateSnapshot::GetBuildsystemDirectoryParent() const |
| 96 | { |
| 97 | cmStateSnapshot snapshot; |
| 98 | if (!this->State || this->Position == this->State->SnapshotData.Root()) { |
| 99 | return snapshot; |
| 100 | } |
| 101 | cmStateDetail::PositionType parentPos = this->Position->DirectoryParent; |
| 102 | if (parentPos != this->State->SnapshotData.Root()) { |
| 103 | snapshot = cmStateSnapshot(this->State, |
| 104 | parentPos->BuildSystemDirectory->CurrentScope); |
| 105 | } |
| 106 | |
| 107 | return snapshot; |
| 108 | } |
| 109 | |
| 110 | cmStateSnapshot cmStateSnapshot::GetCallStackParent() const |
| 111 | { |
no test coverage detected