dmd.globals

Stores command line options and contains other miscellaneous declarations.

Members

Enums

CHECKACTION
enum CHECKACTION

What should happend when an assertion fails

CHECKENABLE
enum CHECKENABLE

In which context checks for assertions, contracts, bounds checks etc. are enabled

CppStdRevision
enum CppStdRevision

Version of C++ standard to support

DiagnosticReporting
enum DiagnosticReporting

Defines a setting for how compiler warnings and deprecations are handled

FeatureState
enum FeatureState

Trivalent boolean to represent the state of a revertable change

JsonFieldFlags
enum JsonFieldFlags

Each flag represents a field that can be included in the JSON output.

Static variables

global
Global global;

Collection of global state

Structs

Global
struct Global

Collection of global compiler settings and global state used by the frontend

Help
struct Help

Command line state related to printing usage about other switches

Param
struct Param

Put command line switches in here

Meta