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

Sven Brauch svenbrauch at googlemail.com
Sun Nov 24 00:25:34 UTC 2013


On Sunday 24 November 2013 08:05:25 black wrote:
> Once somebody include a *.cpp file in two separate locations, it will break.
> So, what if just put the *.cpp file into the context which includes it ,
> and we
> do not parse the *.cpp file separately ? Just like a macro.
As said, you need to be very careful to avoid infinite recursions. 
Additionally, it will be very slow. Plus, you still don't solve the "editing 
the included file doesn't work properly" issue.

Sven


More information about the KDevelop-devel mailing list