View source code
Display the source code in dmd/dfa/utils.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aGitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinglocal clone.

Module dmd.dfa.utils

Utilities for Data Flow Analysis.

Documentation

https://dlang.org/phobos/dmd_dfa_utils.html

Coverage

https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dfa/utils.d

Functions

NameDescription
equalityArgTypes(lhs, rhs) Classifies how two types are compared for equality at runtime.
isTypeNullable(type) Checks if a type is capable of being null at runtime.
isTypeTruthy(type) Checks if a type can be evaluated as a boolean (truthy/falsey).

Authors

Richard (Rikki) Andrew Cattermole

License

Boost License 1.0