[cfe-dev] how to get AST content from CXCursor?
Lou Wynn via cfe-dev
cfe-dev at lists.llvm.org
Thu Oct 25 01:02:21 PDT 2018
I'm traversing an AST by using the CXCursorVisitor. How can I get the
node content from the cursor? For example, for a CXCursor_BinaryOperator
cursor, I'd like to get the binary operator itself. I guess that the
information is included in the CXCursor struct, but I haven't found
examples of how to use it? Any help is appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev