Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ isCPPCastKeyword
Function
isCPPCastKeyword
lib/astutils.cpp:2488–2493 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2486
}
2487
2488
static bool isCPPCastKeyword(const Token* tok)
2489
{
2490
if (!tok)
2491
return false;
2492
return endsWith(tok->str(),
"_cast"
);
2493
}
2494
2495
static bool isTrivialConstructor(const Token* tok)
2496
{
Callers
2
isVariableChangedByFunctionCall
Function · 0.85
isCPPCast
Function · 0.85
Calls
2
endsWith
Function · 0.70
str
Method · 0.45
Tested by
no test coverage detected