Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Using new PDOM Search etc.

CSearchMatch was part of search, not part of the DOM, so your AST stuff,
which is part of the DOM, should continue to work fine. As you've seen, the
search functionality has been rewritten to use the PDOM.

You can poke around at PDOMSearch to see how it does queries on the PDOM. It
guess it somewhat depends on what you were searching for. Is this code
currently checked into the PTP CVS area? If so, I can take a look and
provide recommendations.

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

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
Behalf Of Beth Tibbitts
Sent: Friday, May 05, 2006 9:20 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Using new PDOM Search etc.


OK.. I'm (finally) converting some PTP tools ("MPI Development Tools"
generalized to "Parallel Language Development Tools" or PLDT)
to CDT 3.1 and Eclipse 3.2
Basically they use the CDT's AST to search for MPI and OpenMP "artifacts"
(methods/functions/constants/directives etc.) used from the specified
header file,
and do a bit of static analysis based on the AST as well.
So from all the bleeding red X's on my first bringup, it looks like Doug's
PDOM changes are my main problem, er, opportunity to use Doug's wonderful
new code. :-)

So, to begin with, CSearchMatch seems to be replaced with PDOMSearchMatch,
etc... i did some of that before trying to convert to CDT 3.1RC0 (see prev.
thread)
Any other general direction to send me in?

...Beth

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

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top