Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cppcheck-opensource/cppcheck
/ isIntegralOnlyOperator
Function
isIntegralOnlyOperator
lib/valueflow.cpp:5038–5040 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5036
};
5037
5038
static bool isIntegralOnlyOperator(const Token* tok) {
5039
return Token::Match(tok,
"%|<<|>>|&|^|~|%or%"
);
5040
}
5041
5042
static bool isIntegralOrPointer(const Token* tok)
5043
{
Callers
1
isIntegralOrPointer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected