Fwd: parse cpp files imported by #include "*.cpp"

Sven Brauch svenbrauch at googlemail.com
Fri Nov 22 14:06:33 UTC 2013


On Friday 22 November 2013 19:30:57 black wrote:
>   How about use the preprocessor in our cpp paser, just put the context
> imported by "#include "*.cpp""
> in the main context ?

Not simple -- for example think about circular dependencies as a possible 
problem. Also if you do this for all #includes it will become terribly slow 
with the current architecture, because all the code needs to be reparsed 
whenever you type something.

Greetings


More information about the KDevelop-devel mailing list