MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / MatchAny

Function MatchAny

CppCoverage/WildcardCoverageFilter.cpp:41–53  ·  view source on GitHub ↗

---------------------------------------------------------------------

Source from the content-addressed store, hash-verified

39 {
40 //---------------------------------------------------------------------
41 const Wildcards* MatchAny(
42 const std::wstring& str,
43 const std::vector<Wildcards>& wildcardsCollection)
44 {
45
46 for (const auto& wildcards : wildcardsCollection)
47 {
48 if (wildcards.Match(str))
49 return &wildcards;
50 }
51
52 return nullptr;
53 }
54
55 //---------------------------------------------------------------------
56 std::vector<Wildcards> BuildWildcards(

Callers 1

MatchMethod · 0.85

Calls 1

MatchMethod · 0.45

Tested by

no test coverage detected