[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: Jordan Rose <jordan_rose () apple ! com>
Date: 2012-11-27 17:34:56
Message-ID: 90F3E460-084C-4392-ADD1-33A4B5B2C412 () apple ! com
[Download RAW message or body]
+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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic