[cfe-dev] determine scope in a RecursiveASTVistor

ret val retval386 at gmail.com
Tue Jul 19 19:05:42 PDT 2011


While Looking at function pointer declarations with a RecursiveASTVistor I'm
trying to keep track of their scope.

My original plan was to delimit scope based on Entering/Leaving a
CompoundStmt since it looks like its a nice logical grouping, but I noticed
in the Doxygen docs nothing inherits this class. I was expecting functions
and loops to inherit this.

So now I'm wondering what a good way to go about this is, hopefully still
using a RecursiveASTVistor.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110719/087f1492/attachment.html>


More information about the cfe-dev mailing list