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

Method PushTLLCommandTrace

Source/cmTarget.cxx:1478–1492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1476}
1477
1478bool cmTarget::PushTLLCommandTrace(TLLSignature signature,
1479 cmListFileContext const& lfc)
1480{
1481 bool ret = true;
1482 if (!this->impl->TLLCommands.empty()) {
1483 if (this->impl->TLLCommands.back().first != signature) {
1484 ret = false;
1485 }
1486 }
1487 if (this->impl->TLLCommands.empty() ||
1488 this->impl->TLLCommands.back().second != lfc) {
1489 this->impl->TLLCommands.emplace_back(signature, lfc);
1490 }
1491 return ret;
1492}
1493
1494void cmTarget::GetTllSignatureTraces(std::ostream& s, TLLSignature sig) const
1495{

Callers 1

HandleLibraryMethod · 0.80

Calls 3

emplace_backMethod · 0.80
emptyMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected