Clang AST traversal

  abstract-syntax-tree, c++, clang

I am currently trying to traverse clang AST but I am not sure where I should start, I have read the documentation about RecursiveASTVisitor, but I don’t know how to implement it. Can you please share the complete guides which can help me to start from scratch?

I am using C++ as the main language.

Examples that did not work:
https://jonasdevlieghere.com/understanding-the-clang-ast/

Source: Windows Questions C++

LEAVE A COMMENT