How to build clang/examples/PrintFunctionNames?

前端 未结 4 1013
失恋的感觉
失恋的感觉 2021-02-08 00:33

I need some simple example to start using clang. I downloaded llvm and clang and built:

mkdir llvm-build
cd llvm-build
../llvm/configure
make

I

4条回答
  •  温柔的废话
    2021-02-08 01:13

    I tried to do something similar yesterday: get a list of methods in a class using clang and succeeded. Maybe my post helps here also. My best help was this AST Matchers tutorial.

提交回复
热议问题