Function pointers

Christoph Bartoschek bartoschek at or.uni-bonn.de
Sat Sep 5 22:43:16 UTC 2009


Hi,

the current trunk crashes because function pointers are not handled correctly. 
The attached patches prevent the crash, but they do not implement support for 
function pointers.

The first patch functiontype.patch adds an assertion to 
FunctionDeclaration::setAbstractType to prevent later a crash in toString().

The second patch first adds a test that fails in the assertion of the first 
patch. It also adds code by David Nolden to circumvent the assertion failure.

Christoph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: function_pointer.patch
Type: text/x-patch
Size: 2717 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090906/634f407a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: functiontype.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090906/634f407a/attachment-0001.patch>


More information about the KDevelop-devel mailing list