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

Function isOct

externals/simplecpp/simplecpp.cpp:65–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static bool isOct(const std::string &s)
66{
67 return s.size()>1 && (s[0]=='0') && (s[1] >= '0') && (s[1] < '8');
68}
69
70static bool isStringLiteral(const std::string &s)
71{

Callers 8

toBigUNumberMethod · 0.85
toBigNumberMethod · 0.85
isIntMethod · 0.85
isoctMethod · 0.85
stringToLLFunction · 0.85
stringToULLFunction · 0.85
combineOperatorsMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by 1

isoctMethod · 0.68