[LLVMbugs] [Bug 6125] New: CIndex should implement iteration based interfaces for cursors
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Jan 23 19:24:08 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6125
Summary: CIndex should implement iteration based interfaces for
cursors
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: daniel at zuster.org
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Currently CIndex implements a callback interface for visiting the children of
cursors, with some helper features to recurse / break the visitation. This may
be "handy" for C, but it is cumbersome as an API for wrapping in other
languages, especially ones which have decent iteration support. It would be
nice to support an iteration interface which exposed an actual iterator object.
Clients can then implement whatever traversal scheme they like, and wrap it in
helper methods if need be.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list