Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Indexer include files issue

Hi,

I'm currently testing the dependency tracker of the internal builder which
is based on the PDOM indexer. I have selected the fast indexer, and defined
PDOMDependencyGenerator as dependency calculator in my build definitions.
This all seems to function properly as I can see the dependency generator
is being called.

In this process however, the indexer method CIndex.findIncludes() is called
to get all include files for a given resource, and this method contains the
following sequence:

    findIncludes(Collections.singletonList(file), result, depth, new HashSet());
    result= result.subList(1, result.size());

The first line seems to correctly return a list of all include files, but
the 2nd line decides to always remove the 1st entry, is this correct?

Regards,
  Wieant


Back to the top