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

Method AddFunctionBlocker

Source/cmMakefile.cxx:3016–3024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3014}
3015
3016void cmMakefile::AddFunctionBlocker(std::unique_ptr<cmFunctionBlocker> fb)
3017{
3018 if (!this->ExecutionStatusStack.empty()) {
3019 // Record the context in which the blocker is created.
3020 fb->SetStartingContext(this->Backtrace.Top());
3021 }
3022
3023 this->FunctionBlockers.push(std::move(fb));
3024}
3025
3026std::unique_ptr<cmFunctionBlocker> cmMakefile::RemoveFunctionBlocker()
3027{

Callers 7

cmFunctionCommandFunction · 0.80
cmWhileCommandFunction · 0.80
HandleInModeFunction · 0.80
cmForEachCommandFunction · 0.80
cmBlockCommandFunction · 0.80
cmIfCommandFunction · 0.80
cmMacroCommandFunction · 0.80

Calls 3

moveFunction · 0.85
SetStartingContextMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected