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

Method decay

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

Source from the content-addressed store, hash-verified

112 return self.remove_pointer().remove_const().remove_reference()
113
114 def decay(self) -> 'Type':
115 t = self.remove_reference()
116 if t.is_pointer():
117 return t
118 else:
119 return t.remove_const()
120
121 def const_compatible(self, t: 'Type'):
122 if t.is_const():

Callers 1

get_cpp_typeMethod · 0.80

Calls 3

remove_referenceMethod · 0.95
is_pointerMethod · 0.80
remove_constMethod · 0.80

Tested by

no test coverage detected