Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
static bool isOct(const std::string &s)
66
{
67
return s.size()>1 && (s[0]==
'0'
) && (s[1] >=
'0'
) && (s[1] <
'8'
);
68
}
69
70
static bool isStringLiteral(const std::string &s)
71
{
Callers
8
toBigUNumber
Method · 0.85
toBigNumber
Method · 0.85
isInt
Method · 0.85
warningIntToPointerCast
Method · 0.85
isoct
Method · 0.85
stringToLL
Function · 0.85
stringToULL
Function · 0.85
combineOperators
Method · 0.85
Calls
1
size
Method · 0.45
Tested by
1
isoct
Method · 0.68