I have a .h file refer to a class file (.cpp), I am using CDT to modify code but i didn't find element node that refer to attribute of class for example :
#ifndef DEF_PERSONNAGE
#define DEF_PERSONNAGE
class simple
{
public:
void recevoirDegats(int nbDegats);
private:
int m_vie;
};
#endif
I get the function declarator by testing if the node is instance of IASTFunctionDeclarator but to get the field int m_vie; i use what ?