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

Function isUtf8

lib/token.h:798–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796 }
797
798 bool isUtf8() const {
799 return (((mTokType == eString) && isPrefixStringCharLiteral(mStr, '"', "u8")) ||
800 ((mTokType == eChar) && isPrefixStringCharLiteral(mStr, '\'', "u8")));
801 }
802
803 bool isUtf16() const {
804 return (((mTokType == eString) && isPrefixStringCharLiteral(mStr, '"', "u")) ||

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected