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

Method FindPackageStackRAII

Source/cmMakefile.cxx:4236–4248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4234}
4235
4236cmMakefile::FindPackageStackRAII::FindPackageStackRAII(
4237 cmMakefile* mf, std::string const& name,
4238 std::shared_ptr<cmPackageInformation const> pkgInfo)
4239 : Makefile(mf)
4240{
4241 this->Makefile->FindPackageStack =
4242 this->Makefile->FindPackageStack.Push(cmFindPackageCall{
4243 name,
4244 std::move(pkgInfo),
4245 this->Makefile->FindPackageStackNextIndex,
4246 });
4247 this->Makefile->FindPackageStackNextIndex++;
4248}
4249
4250cmMakefile::FindPackageStackRAII::~FindPackageStackRAII()
4251{

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
PushMethod · 0.80

Tested by

no test coverage detected