KDE/kdevplatform/language/duchain

David nolden david.nolden.kdevelop at art-master.de
Mon Feb 16 16:23:20 UTC 2009


Am Montag 16 Februar 2009 17:06:00 schrieb Andreas Pakulat:
> Looking at the implementation of the constructor and even more so the
> destructor variant of these two I wonder wether they should do anything at
> all by default. The current implementation in duchain only works for C++
> (well, the constructor also works for java by accident), but all other
> languages I've used have totally different ways of identifying constructors
> and destructors (if they even have any). So maybe by the default these
> should return false and the languages should provide their own
> implementation?

Then every language has to subclass this class, only to implement that thing. 
It should rather be changed to a flag that is explicitly set by the language 
duchain builders.

Greetings, David





More information about the KDevelop-devel mailing list