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

Method ArgumentsMatch

Source/cmForEachCommand.cxx:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91bool cmForEachFunctionBlocker::ArgumentsMatch(cmListFileFunction const& lff,
92 cmMakefile& mf) const
93{
94 std::vector<std::string> expandedArguments;
95 mf.ExpandArguments(lff.Arguments(), expandedArguments);
96 return expandedArguments.empty() ||
97 expandedArguments.front() == this->Args.front();
98}
99
100bool cmForEachFunctionBlocker::Replay(
101 std::vector<cmListFileFunction> functions, cmExecutionStatus& inStatus)

Callers

nothing calls this directly

Calls 4

ExpandArgumentsMethod · 0.80
ArgumentsMethod · 0.80
emptyMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected