MCPcopy 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
55def 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
64def isFunctionCall(token):

Callers 1

RedundantCastFunction · 0.85

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected