[cfe-dev] Query "next" decl in a DeclGroup?

Eli Bendersky eliben at google.com
Thu Jun 12 15:55:48 PDT 2014


On Thu, Jun 12, 2014 at 2:41 PM, Eli Bendersky <eliben at google.com> wrote:

> Hi All,
>
> Given a Decl*, I want to find who are the other decls in its DeclGroup. So
> for:
>
>   int foo, bar;
>
> Given a Decl* for 'foo', I want to find 'bar'.
>
> ASTConsumer.h (http://clang.llvm.org/doxygen/ASTConsumer_8h_source.html)
> mentions a getNextDeclarator method, which seems to have been removed in
> r68002 (so the comment is stale now).
>
>
FWIW, I cleaned up the comment in r210851.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140612/4ceb5d02/attachment.html>


More information about the cfe-dev mailing list