C++ support questions

Milian Wolff mail at milianw.de
Fri Feb 18 12:00:00 UTC 2011


On 02/18/11 09:51, Esben Mose Hansen wrote:
> 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
>> though
>
> 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.

right, that could work as well.

bye

-- 
Milian Wolff
http://milianw.de




More information about the KDevelop-devel mailing list