View source code
Display the source code in dmd/globals.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla 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 using local clone.

Module dmd.globals

Stores command line options and contains other miscellaneous declarations.

Documentation

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

Coverage

https://codecov.io/gh/dlang/dmd/src/master/src/dmd/globals.d

Structs

NameDescription
Global Collection of global compiler settings and global state used by the frontend
Help Command line state related to printing usage about other switches
Param Put command line switches in here

Enums

NameDescription
CHECKACTION What should happend when an assertion fails
CHECKENABLE In which context checks for assertions, contracts, bounds checks etc. are enabled
CppStdRevision Version of C++ standard to support
DiagnosticReporting Defines a setting for how compiler warnings and deprecations are handled
FeatureState Trivalent boolean to represent the state of a revertable change
JsonFieldFlags Each flag represents a field that can be included in the JSON output.

Global variables

NameTypeDescription
global Global Collection of global state

Authors

Walter Bright

License

Boost License 1.0