[cfe-dev] Access the definition of a class friend

Greenwalker panagos13 at hotmail.com
Sun Jul 13 08:33:06 PDT 2014


Thank you Nikola,

I have noticed that FriendDecl::getFriendDecl returns NULL when friend is a
struct / class while FriendDecl::getFriendType returns NULL when friend is a
function. Is this a correct way to identify the kind of the friend
(struct/class or function) ?

 



--
View this message in context: http://clang-developers.42468.n3.nabble.com/Access-the-definition-of-a-class-friend-tp4040510p4040519.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list