[cfe-dev] use Clang's API in llvm project

Eli Friedman eli.friedman at gmail.com
Fri Nov 5 11:15:44 PDT 2010


On Thu, Nov 4, 2010 at 11:44 PM, Neng Chen <cnisme.cn at gmail.com> wrote:
> I have installed LLVM 2.6 and llvm-gcc, now I intend to install Clang to
> write some program to do some AST analysis.
> The current problem as follow:
> I use the "llvm/projects/sample" to build a project as the document guide,
> and added some code, now, if I install Clang, how can I add the code that
> used Clang's API.

I don't really know the details here, but have you looked at examples/
in the clang source tree?

-Eli



More information about the cfe-dev mailing list