View source code
Display the source code in ddmd/func.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 ddmd.func

Compiler implementation of the D programming language.

Functions

Name Description
addInvariant Generate Expression to call the invariant.
getIndirection Returns an indirect type one step from t.
overloadApply Visit each overloaded function/template in turn, and call dg(s) on it. Exit when no more, or dg(s) returns nonzero.
resolveFuncCall Given a symbol that could be either a FuncDeclaration or a function template, resolve it to a function symbol.

Classes

Name Description
CtorDeclaration
DeleteDeclaration
DtorDeclaration
FuncAliasDeclaration Used as a way to import a set of functions from another scope into this one.
FuncDeclaration
FuncLiteralDeclaration
InvariantDeclaration
NewDeclaration
PostBlitDeclaration
SharedStaticCtorDeclaration
SharedStaticDtorDeclaration
StaticCtorDeclaration
StaticDtorDeclaration
UnitTestDeclaration

Enums

Name Description
ILS Inline Status

Enum values

Name Type Description
FUNCFLAGinferScope infer 'scope' for parameters
FUNCFLAGinlineScanned function has been scanned for inline possibilities
FUNCFLAGnogcInprocess working on determining @nogc
FUNCFLAGnothrowInprocess working on determining nothrow
FUNCFLAGpurityInprocess working on determining purity
FUNCFLAGreturnInprocess working on inferring 'return' for parameters
FUNCFLAGsafetyInprocess working on determining safety

Authors

Walter Bright

License

Boost License 1.0

Comments