C++ support questions
Esben Mose Hansen
kde at mosehansen.dk
Fri Feb 18 08:51:28 UTC 2011
On Thursday 17 February 2011 15:29:32 Milian Wolff wrote:
> - once you open that file, you will end up in the "parentCtx = 0" case
> and loose the information about the surroundings. Sounds bearable to me
Can't "we" get the top-level contexts from the build system? IMHO, anything
passed to gcc to compile would count as a "toplevel" file, and anything not...
well not. For extra points, we could assume that any file not included
anywhere else is its own toplevel.
If no build system, of course, the best thing to do would be to assume that
every non-header file is toplevel.
kind regards, Esben
More information about the KDevelop-devel