[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: Re: [cfe-dev] Allow to selectively skip function bodies while parsing.
From: Richard Smith <richard () metafoo ! co ! uk>
Date: 2012-11-27 21:32:06
Message-ID: CAOfiQq=nw0nCy5jNtPjRmmZYQqJwr5d3+T7Sa1c=4L_BvboqTA () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Committed with some minor style tweaks as r168726.
On Tue, Nov 27, 2012 at 10:11 AM, Argyrios Kyrtzidis <kyrtzidis@apple.com>wrote:
> LGTM.
>
> On Nov 27, 2012, at 9:34 AM, Jordan Rose <jordan_rose@apple.com> wrote:
>
> > +Argyrios, who I believe added the current skip support.
> >
> >
> > On Nov 26, 2012, at 4:03 , Olivier Goffart <ogoffart@kde.org> wrote:
> >
> > > Hi,
> > >
> > > I would like to upstream the attached patch which allows ASTConsumer to
> select
> > > which function to skip while parsing.
> > >
> > > I have been using it to do a online code browser:
> http://code.woboq.org
> > >
> > > Most of the time of my tool is spent in parsing.
> > > And I have to parse the same includes again and again, and some
> includes have
> > > a lot of inline functions.
> > > By skipping body in already seen includes, I was able to reduce the
> parsing
> > > time by 30%.
> > >
> > > This might also be useful for other tools like refactoring or so.
> > >
> > > Regards,
> > > --
> > >
> Olivier<0001-Add-a-hook-in-the-ASTConsumer-to-be-able-to-skip-fun.patch>_______________________________________________
>
> > > cfe-dev mailing list
> > > cfe-dev@cs.uiuc.edu
> > > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> >
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev@cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
[Attachment #5 (text/html)]
Committed with some minor style tweaks as r168726.<br><br><div class="gmail_quote">On \
Tue, Nov 27, 2012 at 10:11 AM, Argyrios Kyrtzidis <span dir="ltr"><<a \
href="mailto:kyrtzidis@apple.com" target="_blank">kyrtzidis@apple.com</a>></span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex">LGTM.<br> <div class="HOEnZb"><div class="h5"><br>
On Nov 27, 2012, at 9:34 AM, Jordan Rose <<a \
href="mailto:jordan_rose@apple.com">jordan_rose@apple.com</a>> wrote:<br> <br>
> +Argyrios, who I believe added the current skip support.<br>
><br>
><br>
> On Nov 26, 2012, at 4:03 , Olivier Goffart <<a \
href="mailto:ogoffart@kde.org">ogoffart@kde.org</a>> wrote:<br> ><br>
>> Hi,<br>
>><br>
>> I would like to upstream the attached patch which allows ASTConsumer to \
select<br> >> which function to skip while parsing.<br>
>><br>
>> I have been using it to do a online code browser: <a \
href="http://code.woboq.org" target="_blank">http://code.woboq.org</a><br> \
>><br> >> Most of the time of my tool is spent in parsing.<br>
>> And I have to parse the same includes again and again, and some includes \
have<br> >> a lot of inline functions.<br>
>> By skipping body in already seen includes, I was able to reduce the \
parsing<br> >> time by 30%.<br>
>><br>
>> This might also be useful for other tools like refactoring or so.<br>
>><br>
>> Regards,<br>
>> --<br>
>> Olivier<0001-Add-a-hook-in-the-ASTConsumer-to-be-able-to-skip-fun.patch>_______________________________________________<br>
>> cfe-dev mailing list<br>
>> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br> ><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br> <br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" \
target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br> \
</div></div></blockquote></div><br>
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic