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

Function isCharLiteral

lib/utils.h:171–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171inline static bool isCharLiteral(const std::string &str)
172{
173 return isStringCharLiteral(str, '\'');
174}
175
176inline static std::string getStringCharLiteral(const std::string &str, char q)
177{

Callers 7

toBigUNumberMethod · 0.70
toBigNumberMethod · 0.70
toDoubleNumberMethod · 0.70
update_property_infoMethod · 0.70
getCharLiteralFunction · 0.70
isCharLiteralMethod · 0.50

Calls 1

isStringCharLiteralFunction · 0.85

Tested by 1

isCharLiteralMethod · 0.40