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 a local clone.

dmd.targetcompiler

Encapsulates the vagaries of which of the three D compilers (gdc, ldc or dmd) is being built
Authors:
enum string TargetCompiler;
enum string SwitchPrefix;
enum string SwitchVariadic;
enum const(char)* SwitchExceptions;
enum const(char)* SwitchScopeGuard;
template VarDeclarationExtra()
Extra Fields for VarDeclaration
bool inClosure;
is inserted into a GC allocated closure
bool inAlignSection;
is inserted into an aligned section on stack
template FuncDeclarationExtra()
Extra Fields for FuncDeclaration
VarDeclarations* alignSectionVars;
local variables with alignment needs larger than stackAlign
Symbol* salignSection;
pointer to aligned section, if any
template alignSectionVarsExtra()
Extra Fields for FuncDeclaration
template HostObjectNotFound()
Let user know object.d cannot be found.

Parameters loc = location of error id = name of symbol that cannot be found configFile = configuration file name eSink = where to send the error messages