[cfe-dev] How to identify if a FunctionDecl is member of a class.

Greenwalker panagos13 at hotmail.com
Thu Jul 3 14:11:01 PDT 2014


Hi all!

Is there a way to identify if a FunctionDecl is a declaration of a function
that belongs (or not) to a class ?

I am trying to build a visitor which should only visit function declarations
that are not members of any class.

Thanks in advance!



--
View this message in context: http://clang-developers.42468.n3.nabble.com/How-to-identify-if-a-FunctionDecl-is-member-of-a-class-tp4040346.html
Sent from the Clang Developers mailing list archive at Nabble.com.



More information about the cfe-dev mailing list