Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Bug 63927- doubt

The index only captures global variables that can be referenced between files. Capturing every variable everywhere would really slow things down. You can always use Text search, while slower, will find all text.

 

Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Ravi S Konidena
Sent: Friday, June 01, 2007 3:10 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Bug 63927- doubt

 


#include <iostream>
       
        int         highVal;  // ** (A) **
       
        int
        main(int argc, char **argv) {
                std::cout << "\n";
       
                char inp[8];  // ** (B) **
                std::cin >> inp;  // ** (C) **
        }

In the C/C++ index view only highVal and main are seen. inp is not seen
in the index. Hence C/C++ search of inp is not yielding any results.

Please let me know if it is OK for the indexer not to index inp.
Thanks,
Ravi
Extn: 2751
Mobile:9886432301


Back to the top