Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-core-dev] Question about fetching information from the parser

Hi,

I wonder if someone can help me solving the following "problem". I want to get a kind of reverse dependencies from the parser. At the moment, I know how to get all include header files for a given translation unit, let's call it c-file, using the DependencyQueryJob. However, that's just one direction of the story. What I need is exactly the way around ... which translation units or header files includes a given header file. Till now I could not figure out how to do it by myself. I'm sure the parser do have the information somehow, but I don't know how to extract them. Probably someone can give me a hint ?

Thanks in advance,
Best regards.

--
Uwe
mailto: uwe@xxxxxxx


Back to the top