building a parser with clang

前端 未结 1 1722
孤城傲影
孤城傲影 2020-12-28 17:43

I need to build an AST using clang and the only tutorials that I found are vague and two years out of date. Could anybody point me to an example?

相关标签:
1条回答
  • 2020-12-28 17:55

    There are several tutorial available that demonstrate the use of the Preprocessor class and how to build an AST:

    • A CLang tutorial (a bit outdated but with a lot of explanation)
    • Code samples
    0 讨论(0)
提交回复
热议问题