honood / LibToolingExample

An example of how to use Clang's LibTooling interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clang LibTooling Example

This repository includes the companion files for this Clang LibTooling Example.

To use these files, first download and build LLVM and Clang from source.

Then checkout this repository into Clang's tools directory:

$ cd llvm/tools/clang/tools
$ git clone https://github.com/kevinaboos/LibToolingExample.git example

Then build and run the Example.cpp file:

$ cd example
$ make
$ chmod +x run_example.sh
$ ./run_example.sh

About

An example of how to use Clang's LibTooling interface.


Languages

Language:C++ 94.6%Language:Shell 2.8%Language:C 2.6%