MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ShouldContain

Function ShouldContain

extern/re2/re2/testing/charclass_test.cc:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112bool ShouldContain(CCTest *t, int x) {
113 for (int j = 0; t->final[j].lo >= 0; j++)
114 if (t->final[j].lo <= x && x <= t->final[j].hi)
115 return true;
116 return false;
117}
118
119// Helpers to make templated CorrectCC work with both CharClass and CharClassBuilder.
120

Callers 1

CorrectCCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected