Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] The best way to create IASTTranslationUnit


I'm wondering what is the best way to create the IASTTranslationUnit
from performance perspective?

When I create it with
 CCorePlugin.getDefault().getDOM().getTranslationUnit(file, false);
it takes up to few seconds.

At the same time, it seems I do not use the index at all though my
project has the index. Is it possible to use it for AST? Will it speed
up the ASTTranslationUnit creation process?


Back to the top