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

Function dmd.funcsem.resolveFuncCall

Given a symbol that could be either a FuncDeclaration or a function template, resolve it to a function symbol.

FuncDeclaration resolveFuncCall (
  ref const(Loc) loc,
  dmd.dscope.Scope* sc,
  Dsymbol s,
  dmd.root.array.Array!(dmd.rootobject.RootObject)* tiargs,
  Type tthis,
  ArgumentList argumentList,
  FuncResolveFlag flags
);

Parameters

NameDescription
loc instantiation location
sc instantiation scope
s instantiation symbol
tiargs initial list of template arguments
tthis if !NULL, the this argument type
argumentList arguments to function
flags see FuncResolveFlag.

Returns

if match is found, then function symbol, else null

Authors

Walter Bright

License

Boost License 1.0