Check for unsafe access in @safe code: 1. read overlapped pointers 2. write misaligned pointers 3. write overlapped storage classes Print error if unsafe.
Determine if it is @safe to cast e from tfrom to tto.
_safe.d Documentation: https://dlang.org/phobos/dmd_safe.html Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/safe.d
Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved
Checks whether member access or array casting is allowed in @safe code.
Specification: Function Safety