MCPcopy Create free account
hub / github.com/RenderKit/oidn / isReservedTag

Function isReservedTag

external/catch.hpp:14030–14032  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14028 return TestCaseInfo::None;
14029 }
14030 bool isReservedTag( std::string const& tag ) {
14031 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( static_cast<unsigned char>(tag[0]) );
14032 }
14033 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
14034 CATCH_ENFORCE( !isReservedTag(tag),
14035 "Tag name: [" << tag << "] is not allowed.\n"

Callers 1

enforceNotReservedTagFunction · 0.85

Calls 2

parseSpecialTagFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected