dmd.globals

Stores command line options and contains other miscellaneous declarations.

Authors

Walter Bright

Source: globals.d

  • Declaration

    enum JsonFieldFlags: uint;

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

    NOTE: set type to uint so its size matches C++ unsigned type

  • Declaration

    enum CxxHeaderMode: uint;

    Configuration for the C++ header generator

    • Declaration

      none

      Don't generate headers

    • Declaration

      silent

      Generate headers

    • Declaration

      verbose

      Generate headers and add comments for hidden declarations

  • Declaration

    enum FeatureState: byte;

    Trivalent boolean to represent the state of a revertable change

    • Declaration

      default_

      Not specified by the user

    • Declaration

      disabled

      Specified as -revert=

    • Declaration

      enabled

      Specified as -preview=