This flow should mirror CastToValue
| 13206 | |
| 13207 | // This flow should mirror CastToValue |
| 13208 | bool BfModule::CanCast(BfTypedValue typedVal, BfType* toType, BfCastFlags castFlags) |
| 13209 | { |
| 13210 | BP_ZONE("BfModule::CanCast"); |
| 13211 | |
| 13212 | SetAndRestoreValue<bool> prevIgnoreWrites(mBfIRBuilder->mIgnoreWrites, true); |
| 13213 | return CastToValue(NULL, typedVal, toType, (BfCastFlags)(castFlags | BfCastFlags_SilentFail | BfCastFlags_IsCastCheck)); |
| 13214 | } |
| 13215 | |
| 13216 | bool BfModule::AreSplatsCompatible(BfType* fromType, BfType* toType, bool* outNeedsMemberCasting) |
| 13217 | { |
no outgoing calls
no test coverage detected