View source code
Display the source code in dmd/backend/cc.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.

Module dmd.backend.cc

Common definitions

Compiler implementation of the D programming language.

Functions

NameDescription
ehmethod(f)

Structs

NameDescription
baseclass_t Base classes are a list of these.
BlockRange Range for blocks.
BlockState While constructing a block list, BlockState maintains the global state needed to construct that list.
Cstate Global variables.
EEcontext Srcfiles
Pstate Current 'state' of the compiler. Used to gather together most global variables. This struct is saved/restored during function body parsing.
Srcpos Position in source file

Enums

NameDescription
BC Basic block control flow operators.
FL Element types. These should be combined with storage classes.

Aliases

NameTypeDescription
ClassDeclaration_ void* Basic blocks: Basic blocks are a linked list of all the basic blocks in a function. startblock heads the list.
enum_flags_t uint Special information for enums.
func_flags_t uint Functions
pflags_t uint Function parameters: Pident identifier of parameter Ptype type of argument Psym symbol corresponding to Pident when using the parameter list as a symbol table
struct_flags_t uint Special information for structs.

Authors

Walter Bright

License

Boost License 1.0