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

Function isStringLiteral

lib/utils.h:166–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166inline static bool isStringLiteral(const std::string &str)
167{
168 return isStringCharLiteral(str, '"');
169}
170
171inline static bool isCharLiteral(const std::string &str)
172{

Callers 5

update_property_infoMethod · 0.70
concatStrMethod · 0.70
getStringLiteralFunction · 0.70
isStringLiteralMethod · 0.50

Calls 1

isStringCharLiteralFunction · 0.85

Tested by 1

isStringLiteralMethod · 0.40