extend warning message for non-function type assigned to function declaration
authorMilian Wolff <mail@milianw.de>
Mon, 1 Nov 2010 12:04:40 +0000 (13:04 +0100)
committerMilian Wolff <mail@milianw.de>
Mon, 1 Nov 2010 12:04:40 +0000 (13:04 +0100)
commit9e46395fbc3deee134ea1efef5e8e72fa10a153d
tree754e82a39d4cd5ab93e07dc75862b1b4a2defa77
parent463e08da4f74258ba5dbaa994f7808d0e2d74fe8
extend warning message for non-function type assigned to function declaration

hide it by default for type aliases which are probably 99.9% of the cases which used to trigger this warning
instead I'll write a proper unit test later. Seems like another bug due to missing support for function pointers
like
typedef bool (*EventFilter)(void *message, long *result);
in qcoreapplication.h:172
language/duchain/classfunctiondeclaration.cpp