https://bugs.kde.org/show_bug.cgi?id=410336
Igor Kushnir <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Igor Kushnir <[email protected]> --- The relevant code is at https://invent.kde.org/kdevelop/kdevelop/-/blob/9b66fedcf9addf8ff983518e3d1917c3cf1130c3/plugins/contextbrowser/browsemanager.cpp#L112 Either the definition hasn't been found by the parser yet, in which case nothing can be done. Or selectedDeclaration and DUChainUtils::declarationForDefinition(selectedDeclaration) point to different (forward) declarations, which prevents jumping to the definition. In the second case KDevelop could perhaps take into account forward declarations and check whether selectedDeclaration is a declaration more accurately. -- You are receiving this mail because: You are watching all bug changes.
