[cfe-dev] Traversing a CXCursorSet

Ted Kremenek kremenek at apple.com
Wed Mar 30 18:48:16 PDT 2011


Hi Tobias,

There is no API for iterating over the set (it's currently used for testing set membership) but we'd certainly be open to adding an iteration API.  Is there a particular API that you had in mind?

Ted

On Mar 30, 2011, at 6:20 PM, Tobias <t_guen03 at uni-muenster.de> wrote:

> Hi,
> I just begun to work with libclang and i got stuck now. In my program i 
> am traversing the AST for gathering some cursors in a CXCursorSet. After 
> traversing the tree i want to work with the Cursors i gathered so far, 
> but i cant figure out how to do so. I cant imagine, that there is no way 
> to iterate over the set.
> 
> Thanks four your help, Tobias
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev



More information about the cfe-dev mailing list