MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / isOneOf

Method isOneOf

externals/simplecpp/simplecpp.cpp:200–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200bool simplecpp::Token::isOneOf(const char ops[]) const
201{
202 return (op != '\0') && (std::strchr(ops, op) != nullptr);
203}
204
205bool simplecpp::Token::startsWithOneOf(const char c[]) const
206{

Callers 2

combineOperatorsMethod · 0.80
expandHashHashMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected