MCPcopy Create free account
hub / github.com/csyonghe/Spire / IsInt

Method IsInt

Source/SpireCore/IL.cpp:144–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 bool ILType::IsInt()
145 {
146 auto basicType = dynamic_cast<ILBasicType*>(this);
147 if (basicType)
148 return basicType->Type == ILBaseType::Int;
149 else
150 return false;
151 }
152
153 bool ILType::IsUInt()
154 {

Callers 9

PrintOpMethod · 0.80
DefineVariableMethod · 0.80
ToStringMethod · 0.80
CreateDefaultValueMethod · 0.80
ConvertBasicTypeMethod · 0.80
GetOperandValueMethod · 0.80
PrintUnaryInstrMethod · 0.80
PrintBinaryInstrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected