[cfe-commits] [PATCH] AstUnit::LoadFromCompilerInvocation

Dmitri Gribenko gribozavr at gmail.com
Mon Jan 21 11:24:02 PST 2013


On Mon, Jan 21, 2013 at 8:46 PM, Argyrios Kyrtzidis <akyrtzi at gmail.com> wrote:
> Hurcan uses it presumably ?

I mean, we have no in-tree users and can easily regress when, for
example, someone adds new data members to ASTUnit.

> Let's just keep it for now; at some point I'd really like to do some de-duplication of the ASTUnit load functions, e.g. have an ASTUnitLoadOptions object, or something, encompassing all the different ways to create an ASTUnit and use that with a single load function.

OK, since ASTUnit needs a lot of refactoring anyway, one extra
function would not hurt.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/




More information about the cfe-commits mailing list