Summary: | Kdevelop crashes every time after invoking Find Uses on C++ function ptr typedef | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Romek <roman.konieczny> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 4.2.60 | ||
Target Milestone: | 4.2.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Romek
2011-06-15 11:44:41 UTC
I have reproduced it even in very small project - one file with simple callback declaration like: template<class T> struct Callbacks { typedef void (*myCallback)(T); }; Trying to find uses of myCallback cause a kdevelop crash. Git commit 527729ab8c2b6bb3f223c26a9dbe44ea50cba4f7 by Milian Wolff. Committed on 17/06/2011 at 23:36. Pushed by mwolff into branch 'master'. make sure we don't allocate all memory and crash when trying to grep for empty identifier BUG: 275703 M +21 -3 language/codegen/coderepresentation.cpp M +1 -1 language/codegen/coderepresentation.h http://commits.kde.org/kdevplatform/527729ab8c2b6bb3f223c26a9dbe44ea50cba4f7 note that you still won't get proper uses for this one, as function pointers are still not properly handled by the cpp parser (bug report exists for that afair)... please stay tuned ups, closing again |