Describe the bug
typedef of unspecified type causes friend function documentation to be not documented.
/**
* \relates A
*
* An unspecified type.
*/
typedef unspecified my_type;
/**
* A docs
*/
class A
{
public:
friend void fun(my_type);
};
/**
* fun docs
*/
void fun(my_type);
fun() is not documented and the warning warning: Member fun(my_type) (friend) of class A is not documented. is produced
Screenshots
1.8.9.1 - trunk (85eb55d)

To Reproduce
testcase.zip
Expected behavior
fun() is documented.