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

Method DeferCall

Source/cmMakefile.cxx:2520–2529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2518}
2519
2520bool cmMakefile::DeferCall(std::string id, std::string file,
2521 cmListFileFunction lff)
2522{
2523 if (!this->Defer) {
2524 return false;
2525 }
2526 this->Defer->Commands.emplace_back(
2527 DeferCommand{ std::move(id), std::move(file), std::move(lff) });
2528 return true;
2529}
2530
2531bool cmMakefile::DeferCancelCall(std::string const& id)
2532{

Callers 1

Calls 2

moveFunction · 0.85
emplace_backMethod · 0.80

Tested by

no test coverage detected