MCPcopy Create free account
hub / github.com/Profactor/cv-plot / isControlChar

Method isControlChar

CvPlot/ext/catch2/inc/catch.hpp:14526–14541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14524 m_escapeChars.push_back(m_realPatternPos);
14525 }
14526 bool TestSpecParser::isControlChar( char c ) const {
14527 switch( m_mode ) {
14528 default:
14529 return false;
14530 case None:
14531 return c == '~';
14532 case Name:
14533 return c == '[';
14534 case EscapedName:
14535 return true;
14536 case QuotedName:
14537 return c == '"';
14538 case Tag:
14539 return c == '[' || c == ']';
14540 }
14541 }
14542
14543 void TestSpecParser::addFilter() {
14544 if( !m_currentFilter.m_patterns.empty() ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected