https://bugs.kde.org/show_bug.cgi?id=410336
--- Comment #3 from Mickael Sergent <[email protected]> --- I do a little example code (test.c file attached). When I open kdevelop and the project first time, after having re-parsing, I don't see the problem. For example, if I do a CTRL+click at line 19 (test_fun1()), I go to line 28 But after having moving forward declaration (for example after main() function), or just cut/copy and save again file, then CTRL+click will go to the forward declaration. We need to reparse, close kdevelop, reopen and sometimes it works again. in browsemanager.cpp, when it works, it considers the line as declaration (selectedDeclaration == DUChainUtils::declarationForDefinition(selectedDeclaration) is true ) and so go to line 28 of test.c When it failed, it considers the line 19 as definition ( selectedDeclaration->isDefinition() is true) and go to line 5 -- You are receiving this mail because: You are watching all bug changes.
