MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / remove_const

Method remove_const

tools/api.py:106–109  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

104 return self
105
106 def remove_const(self) -> 'Type':
107 if self.is_const():
108 return Type(self.name[6:])
109 return self
110
111 def basic(self) -> 'Type':
112 return self.remove_pointer().remove_const().remove_reference()

Callers 2

basicMethod · 0.80
decayMethod · 0.80

Calls 2

is_constMethod · 0.95
TypeClass · 0.85

Tested by

no test coverage detected