Given a symbol that could be either a FuncDeclaration or a function template, resolve it to a function symbol.
instantiation location
instantiation scope
instantiation symbol
initial list of template arguments
if !NULL, the this argument type
arguments to function
see FuncResolveFlag.
if match is found, then function symbol, else null
See Implementation
Given a symbol that could be either a FuncDeclaration or a function template, resolve it to a function symbol.