[cfe-dev] #undefine cursors
Iestyn Bleasdale-Shepherd
iestyn at valvesoftware.com
Fri Nov 2 14:34:12 PDT 2012
Hi,
When using the libclang API, '#define' statements yield cursors, but '#undefine' statements do not.
Without a record of #undefines, I can't determine which #defines are extant at any given point in the code, and am thus unable to fully determine dependencies between source files.
Is it possible to determine which #defines are active for a given source location, or would the addition of #undefine cursors be a reasonable feature request for the libclang API?
Thanks!
iestyn Bleasdale-Shepherd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121102/1dc48efe/attachment.html>
More information about the cfe-dev
mailing list