[cfe-dev] libclang question

Ted Kremenek kremenek at apple.com
Thu Nov 11 21:39:57 PST 2010


'c-index-test' is the swiss-army knife command line tool we use to test libclang.  It includes ways to test code completion, symbol traversal (indexing), etc.  You can see uses of it in test/Index, and the source is contained within a single .c file.

On Nov 11, 2010, at 5:34 PM, Sergey Prigogin wrote:

> Could please somebody point me to a code example that uses libclang interfaces. I'm primarily interested in parsing and obtaining diagnostic information rather than in indexing. I'm new to clang, so please excuse me if the example is in an obvious place I should have found it myself.
> 
> -sergey
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list