Review Request: Allow private members to be declared on missing declarations in member init lists

Jonas Jacobi jonas.jacobi at
Thu Sep 15 16:35:12 UTC 2011

This is an automatically generated e-mail. To reply, visit:

(Updated Sept. 15, 2011, 4:35 p.m.)

Review request for KDevelop.

Summary (updated)

Currently, only public member variables can be created, if one uses an unknown declaration in the member init list of a c'tor like
MyClass::MyClass(int x) : mUnknown(x) {}
This patch also allows to create a private member.
Please look especially at the following question as i'm new to duchain:
- can this part of the code be called from a context, where it doesn't make sense to create a private member?
EDIT: it can, trying to that now :/


  languages/cpp/cppduchain/missingdeclarationassistant.cpp bafc159 






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KDevelop-devel mailing list