View source code
Display the source code in dmd/cli.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.
Enum member dmd.cli.CLIUsage.checkUsage
Options supported by -check
struct CLIUsage
{
// ...
enum checkUsage = "Enable or disable specific checks:\n =[h|help|?] List information on all available choices\n =assert[=[on|off]] Assertion checking\n =bounds[=[on|off]] Array bounds checking\n =in[=[on|off]] Generate In contracts\n =invariant[=[on|off]] Class/struct invariants\n =out[=[on|off]] Out contracts\n =switch[=[on|off]] `final switch` failure checking\n =nullderef[=[on|off]] Null dereference error\n =on Enable all checking\n (default for non-release builds, except `nullderef`)\n =off Disable all checking\n";
// ...
}
Authors
License
Copyright © 1999-2026 by the D Language Foundation | Page generated by ddox.