[cfe-dev] clang documents

Zhe Chen mr.zhechen at gmail.com
Fri Mar 9 01:24:44 PST 2012


> On 3/8/12 6:38 AM, Zhe Chen wrote:
>>
>> Dear collegues,
>>       I would like to study clang for code analysis research. For
>> example, I need to traverse and even instrument the generated AST.
>>       However, I am now a beginner to clang. I don't know where to
>> start, e.g. reading its code base. I would like to know if somebody
>> has documents on clang's architecture and modules. I don't think that
>> clang API documents (http://clang.llvm.org/doxygen/) are good for
>> beginners. Maybe I need more detailed explainations. Please give me
>> some suggestions.
>>       Thanks!
>
>
> Have you examined the documentation on the Clang web page (such as
> http://clang.llvm.org/docs/InternalsManual.html)?
>
> -- John T.
>
>>
>> Best regards,
>>
>> Z.C.
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>

I have some more questions about clang:
1. what is the relationship between clang/include/clang-c/index.h and
clang/tools/libclang ?
2. what does CINDEX_LINKAGE mean in index.h ?
3. Is there any example of using the libclang in C++ programs ?

Thanks!




More information about the cfe-dev mailing list