View source code
Display the source code in dmd/semantic3.d from which thispage was generated on github.
Report a bug
If you spot a problem with this page, click here to create aBugzilla 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.semantic3
Performs the semantic3 stage of semantic analysis, which finalizes function bodies and late semantic checks for templates, mixins, aggregates, and special members.
Documentation
https://dlang.org/phobos/dmd_semantic3.html
Coverage
https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/semantic3.d
Functions
| Name | Description |
|---|---|
checkClosure(fd)
|
Determine whether the given function will need to allocate a closure_ and verify that such an allocation is allowed under the current compilation settings. |
search_toString(sd)
|
Search sd for a member function of the form:
extern (D) string toString();
|
semantic3(dsym, sc)
|
Does semantic analysis on function bodies. |
semanticTypeInfoMembers(sd)
|
Ensures special members of a struct are fully analysed before the backend emits TypeInfo. |
Authors
License
Copyright © 1999-2026 by the D Language Foundation | Page generated by ddox.