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

Thanks a lot, Lukas. I used your suggestion in the fix forĀ https://bugs.eclipse.org/bugs/show_bug.cgi?id=273525.

-sergey

On Thu, Jan 6, 2011 at 10:10 PM, Lukas Felber <lfelber@xxxxxx> wrote:
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

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top