Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] PDOM and IASTTranslationUnit

CDT 3.1.2 is rather dated. I highly suggest using at least CDT 4.0 (4.0.3), if not the 5.0 builds which will be final in June, but are very usable.


...Beth

Beth Tibbitts (859) 243-4981 (TL 545-4981)
High Productivity Tools / Parallel Tools http://eclipse.org/ptp
IBM T.J.Watson Research Center
Mailing Address: IBM Corp., 745 West New Circle Road, Lexington, KY 40511
Inactive hide details for "Abhijit Dhariya" <abhijit.dhariya@xxxxxxxxx>"Abhijit Dhariya" <abhijit.dhariya@xxxxxxxxx>


          "Abhijit Dhariya" <abhijit.dhariya@xxxxxxxxx>
          Sent by: cdt-dev-bounces@xxxxxxxxxxx

          05/11/08 06:15 AM

          Please respond to
          "CDT General developers list." <cdt-dev@xxxxxxxxxxx>

To

cdt-dev@xxxxxxxxxxx

cc


Subject

[cdt-dev] PDOM and IASTTranslationUnit

Hi,

in a workspace I have a Managed C++ project and I want to parse only abstract classes in workspace. Any idea how this can be achieved using PDOM? (I am using CDT 3.1.2)

I tried CDOM.getInstance() way, but its very slow (and performance goes bad if I have more than 1 managed C++ project), because it tries to visit all files in included PATH. (around 200+ files).
I just want to parse header files and get abstract classes.
Also I tried translationUnit.getLanaguage().getASTTranalationUnit(...., AST_SKIP_ALL_HEADERS option. not working for me either.

I checked CCorePlugin.getPOMManager(), but it has some unimplmented things, so it fails to give if function is PureVirtual.

any pointers? using indexer? how?

Thanks in advance for your help

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

GIF image

GIF image

GIF image


Back to the top