C++ support questions

Milian Wolff mail at milianw.de
Mon Feb 7 10:49:52 UTC 2011


Hey David,

and probably also Dmitry as you wanted to have something to work on ;-)

On the weekend I (shortly) investigated the two main issues that bug me with 
the current C++ support in KDevelop. If possible, any help or at least hints 
on how to solve them would be much appreciated:

1) https://bugs.kde.org/show_bug.cgi?id=217180
David - is this even possible? Can you elaborate on why this is not working as 
it should? Is each file parsed by itself and only macros get passed through? I 
ask because I started to use Eigen myself at university and it's an awesome 
tool but it's rather unusable in KDevelop right now.

2) https://bugs.kde.org/show_bug.cgi?id=265686
I dived into the code and what I found is only stripping of the qualified 
identifier of the current context. But:

a) why is ImplementationHelperItem::signaturePart calling createArgumentList 
with noShortening=true ?

b) how/where are "using namespace ...."  handled? Esp. considering that 
multiple of these could be used

c) is shortenedTypeString the right thing to use? after all the generated code 
must be compilable but still as short as possible. stripPrefixes sounds 
perfect but of course is only for QIDs...

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110207/a3ef9d4c/attachment.sig>


More information about the KDevelop-devel mailing list