resolveFuncCall

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

resolveFuncCall
(
const ref Loc loc
,,,
Objects* tiargs
,,
Expressions* fargs
,)

Parameters

loc
Type: Loc

instantiation location

sc
Type: Scope*

instantiation scope

s
Type: Dsymbol

instantiation symbol

tiargs
Type: Objects*

initial list of template arguments

tthis
Type: Type

if !NULL, the this argument type

fargs

arguments to function

flags

Return Value

if match is found, then function symbol, else null

Meta