discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add Clang static AST Analysis to project center


From: A Wiebe(Work)
Subject: Add Clang static AST Analysis to project center
Date: Tue, 17 Jul 2012 23:58:25 -0700

I don't know if anyone working on the project is familiar or at least acquainted with libClang, or maybe knows someone who is, but what I know for sure is that when using XCode, having automatic completion for code really speeds things up.

libClang isn't quite as well documented as one would hope, but I know it is the correct tool for the job as it has this to say for itself:

"
The C Interface to Clang provides a relatively small API that exposes facilities for parsing source code into an abstract syntax tree (AST), loading already-parsed ASTs, traversing the AST, associating physical source locations with elements within the AST, and other facilities that support Clang-based development tools.
"
http://clang.llvm.org/doxygen/group__CINDEX.html

Perhaps it is just no well documented enough to just pick up and use( therefore will require some toying with to get it right), or maybe I'm just not looking at the right parts of the documentation.  But certainly it's relatively simple as APIs go, but then relatively, is such a relative term.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]