Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ROCm/AMDMIGraphX
/ getVariableDecl
Function
getVariableDecl
tools/cppcheck/migraphx.py:55–61 ·
view source on GitHub ↗
(var)
Source
from the content-addressed store, hash-verified
53
54
55
def
getVariableDecl(var):
56
if
not var:
57
return
[]
58
end = var.typeEndToken
59
if
end:
60
end = end.next
61
return
var.typeStartToken.forward(end)
62
63
64
def
isFunctionCall(token):
Callers
1
RedundantCast
Function · 0.85
Calls
1
forward
Method · 0.45
Tested by
no test coverage detected