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

Method LinkVisited

Source/cmLinkItemGraphVisitor.cxx:83–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83bool cmLinkItemGraphVisitor::LinkVisited(cmLinkItem const& depender,
84 cmLinkItem const& dependee)
85{
86 auto const link = std::make_pair(depender.AsStr(), dependee.AsStr());
87
88 bool const linkVisited =
89 this->VisitedLinks.find(link) != this->VisitedLinks.cend();
90
91 if (!linkVisited) {
92 this->VisitedLinks.insert(link);
93 }
94
95 return linkVisited;
96}
97
98void cmLinkItemGraphVisitor::GetDependencies(cmGeneratorTarget const& target,
99 std::string const& config,

Callers 1

VisitLinksMethod · 0.95

Calls 3

cendMethod · 0.80
findMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected