| 1441 | } |
| 1442 | |
| 1443 | void cmMakefile::PushFunctionScope(std::string const& fileName, |
| 1444 | cmPolicies::PolicyMap const& pm) |
| 1445 | { |
| 1446 | this->StateSnapshot = this->GetState()->CreateFunctionCallSnapshot( |
| 1447 | this->StateSnapshot, fileName); |
| 1448 | assert(this->StateSnapshot.IsValid()); |
| 1449 | |
| 1450 | this->PushLoopBlockBarrier(); |
| 1451 | |
| 1452 | #if !defined(CMAKE_BOOTSTRAP) |
| 1453 | this->GetGlobalGenerator()->GetFileLockPool().PushFunctionScope(); |
| 1454 | #endif |
| 1455 | |
| 1456 | this->PushFunctionBlockerBarrier(); |
| 1457 | |
| 1458 | this->PushPolicy(true, pm); |
| 1459 | } |
| 1460 | |
| 1461 | void cmMakefile::PopFunctionScope(bool reportError) |
| 1462 | { |
no test coverage detected