Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ endsWith
Function
endsWith
lib/utils.h:112–115 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
110
}
111
112
inline bool endsWith(const std::string &str, char c)
113
{
114
return !str.empty() && str.back() == c;
115
}
116
117
inline bool endsWith(const std::string &str, const char end[], std::size_t endlen)
118
{
Callers
15
checkFunctionVariableUsage_iterateScopes
Method · 0.70
load
Method · 0.70
getAllocationType
Method · 0.70
checkForUnreleasedInputArgument
Method · 0.70
isFunction
Method · 0.70
Function
Method · 0.70
parsedecl
Function · 0.70
simplifyTemplateArgs
Method · 0.70
valueFlowTypeTraits
Function · 0.70
setmsg
Method · 0.70
parseClangAstDump
Method · 0.70
getReport
Method · 0.70
Calls
3
empty
Method · 0.45
size
Method · 0.45
compare
Method · 0.45
Tested by
3
endsWith
Method · 0.40
errorlist
Method · 0.40
errorlistExclusive
Method · 0.40