Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Finding include dependencies.

If you mean walking the build info to find the includes,
I recently figured out how to do that, I used Search before, too, and
that's gone now.
Confirm that's what you need, and I'll include some sample code.


...Beth

Beth Tibbitts  (859) 243-4981  (TL 545-4981)
IBM T.J.Watson Research Center
Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511


                                                                           
             Neeraj U Bhope                                                
             <neerajbhope@in.i                                             
             bm.com>                                                    To 
             Sent by:                  cdt-dev@xxxxxxxxxxx                 
             cdt-dev-bounces@e                                          cc 
             clipse.org                                                    
                                                                   Subject 
                                       [cdt-dev] Finding include           
             06/08/2006 10:09          dependencies.                       
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
               "CDT General                                                
             developers list."                                             
             <cdt-dev@eclipse.                                             
                   org>                                                    
                                                                           
                                                                           





In the earlier search functionality there was a way to search for include
dependencies.
One could do something like the following (extracted from erstwhile class
org.eclipse.cdt.internal.core.sourcedependency.UpdateDependency)

CSearchPattern.createPattern(location.toOSString(),ICSearchConstants.INCLUDE,
 ICSearchConstants.REFERENCES,ICSearchConstants.EXACT_MATCH, true);


What would be the new equivalent on the PDOM infrastructure?
--
neeraj_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top