Hi,
Can the global find class member variable definition in cpp file?
Appreciate help.
liang tang <[email protected]> 于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;
>> }
>
>
>
>