bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to find class member variable definition in cpp using global?


From: liang tang
Subject: Re: how to find class member variable definition in cpp using global?
Date: Mon, 25 Nov 2019 10:35:18 +0800

Hi,
      Can the global find class member variable definition in cpp file?
Appreciate help.

liang tang <address@hidden> 于2019年11月13日周三 下午1:45写道:
Hello, 
      Is there any way to find a class's member variable definition position directly? 
Already set GTAGSFORCECPP=  environment variable, and global -x member cannot find the definition and test code is below.
global -s member has result.
Appreciate your help.


#include <iostream>
class A {
public:
    A () {}
    ~A () {}
private:
    int member;
};
int main()
{
    A a;
}

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]