compile tools/clang/examples directory

Hello,

I am new to llvm/clang community. I have tried some basic tools like ast-print of clang. I notice there are some simple examples in $LLVM_SRC/tools/clang/examples. Can someone tell me how to compile and try them? Thanks.

Best,
Chen

Please try;

  $ make BUILD_EXAMPLES=1 -C tools/clang

Thus, you can build examples in tools/clang/examples. After then, you may do;

  $ make -C tools/clang/examples

HTH, Takumi