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