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

Method PushMacroScope

Source/cmMakefile.cxx:1476–1486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1474}
1475
1476void cmMakefile::PushMacroScope(std::string const& fileName,
1477 cmPolicies::PolicyMap const& pm)
1478{
1479 this->StateSnapshot =
1480 this->GetState()->CreateMacroCallSnapshot(this->StateSnapshot, fileName);
1481 assert(this->StateSnapshot.IsValid());
1482
1483 this->PushFunctionBlockerBarrier();
1484
1485 this->PushPolicy(true, pm);
1486}
1487
1488void cmMakefile::PopMacroScope(bool reportError)
1489{

Callers 1

MacroPushPopMethod · 0.80

Calls 5

GetStateMethod · 0.95
PushPolicyMethod · 0.95
IsValidMethod · 0.45

Tested by

no test coverage detected