MCPcopy Create free account
hub / github.com/apache/thrift / isReservedTag

Function isReservedTag

compiler/cpp/tests/catch/catch.hpp:8117–8119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8115 return TestCaseInfo::None;
8116 }
8117 inline bool isReservedTag( std::string const& tag ) {
8118 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( tag[0] );
8119 }
8120 inline void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
8121 if( isReservedTag( tag ) ) {
8122 std::ostringstream ss;

Callers 1

enforceNotReservedTagFunction · 0.85

Calls 2

parseSpecialTagFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected