I was struggling against friend declarations of template function specializations, i.e., something strongly related to the following (resolved) bug:
The problem we have is the following: when visiting a friend declaration such as the one used in the bug report above
we call method getFriendDecl() and obtain a FunctionDecl*,
but when querying this pointer using method
the answer turns out to be negative.
Is this a bug, or are we just calling the method above out of its specification? Are there other ways to check if a friend declaration is referring to a template function specialization?