make unresolved function inspection macro substitution aware