[PATCH] fix a nullpointer crash in cpp codecompletion

Peter Oberndorfer kumbayo84 at arcor.de
Mon Mar 16 18:40:56 UTC 2009


this happens when trying to complete a function name in a class,
that was derived from another class which is only forward declared
but never defined.

class MyBase;
class MyTest : public MyBase
{
   test| //completion here
};
---
Is this one OK?
Should i apply it?

 languages/cpp/codecompletion/context.cpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0fc9492b8912cccf8b574538d7a7546df8eb2d78.diff
Type: text/x-patch
Size: 987 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090316/ad3d683f/attachment.diff>


More information about the KDevelop-devel mailing list