[cfe-dev] RFC: A proposal for a Clang-based service architecture

Manuel Klimek klimek at google.com
Tue Jun 12 07:59:44 PDT 2012

On Tue, Jun 12, 2012 at 4:56 PM, Bill White <bill.white at griggsinst.com>wrote:

> This is a very interesting proposal.  We have been thinking about
> something like this for a while.
> I would like to recommend the addition of indexing somehow.  What I'd
> like is, given a file/line/column number, to retrieve the lexical and
> static semantics of the token at the location.  The
> filename/line/column number is essentially the content of the Cursor,
> I think.

This is definitely something we want to enable through this service, but
currently the service is more about enabling the infrastructure, than about
defining exactly what pieces we'll want to build for it later. Makes sense?


> It might also be interesting to retrieve a comment, if the specified
> location lands in a comment, but I'm not sure I know how libclang
> handles comments.  I haven't seen comment handling in the libclang
> documentation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120612/b31223d9/attachment.html>

More information about the cfe-dev mailing list