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
Name | Description |
---|---|
Global
|
Collection of global compiler settings and global state used by the frontend |
Loc
|
A source code location |
Param
|
Put command line switches in here |
Enums
Name | Description |
---|---|
CHECKACTION
|
What should happend when an assertion fails |
CHECKENABLE
|
In which context checks for assertions, contracts, bounds checks etc. are enabled |
CPPMANGLE
|
Whether to mangle an external aggregate as a struct or class, as set by extern(C++, struct)
|
CppStdRevision
|
Version of C++ standard to support |
CxxHeaderMode
|
Configuration for the C++ header generator |
DiagnosticReporting
|
Defines a setting for how compiler warnings and deprecations are handled |
FeatureState
|
Trivalent boolean to represent the state of a revert able change
|
JsonFieldFlags
|
Each flag represents a field that can be included in the JSON output. |
LINK
|
A linkage attribute as defined by extern(XXX)
|
MATCH
|
Function match levels |
MessageStyle
|
How code locations are formatted for diagnostic reporting |
PIC
|
Position Indepent Code setting |
PINLINE
|
Inline setting as defined by pragma(inline, XXX)
|
Global variables
Name | Type | Description |
---|---|---|
global
|
Global
|
Collection of global state |
Authors
License
Copyright © 1999-2022 by the D Language Foundation | Page generated by ddox.