Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to get ITranslationUnit for IIndexFileLocation

Hi Sergey

I suppose you are looking for this:

CoreModelUtil.findTranslationUnitForLocation(indexFileLocation,
cproject); //cproject can also be null

Lukas


On Fri, 2011-01-07 at 03:40 +0100, Sergey Prigogin wrote:
> What is the canonical way to get an ITranslationUnit corresponding to
> an IIndexFileLocation?
> 
> 
> -sergey



Back to the top