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

Function isUtf16

lib/token.h:803–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801 }
802
803 bool isUtf16() const {
804 return (((mTokType == eString) && isPrefixStringCharLiteral(mStr, '"', "u")) ||
805 ((mTokType == eChar) && isPrefixStringCharLiteral(mStr, '\'', "u")));
806 }
807
808 bool isUtf32() const {
809 return (((mTokType == eString) && isPrefixStringCharLiteral(mStr, '"', "U")) ||

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected