<table><tr><td style="">mwolff added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16356">View Revision</a></tr></table><br /><div><div><p>I'd say this new code should go into <tt style="background: #ebebeb; font-size: 13px;">FunctionDefinition::definition</tt> instead, no? I.e. check there whether <tt style="background: #ebebeb; font-size: 13px;">decl</tt> is already a definition and if so return that directly?</p>
<p>otherwise +1 for the idea, I wonder why this hasn't been done/spotted before ;-)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16356">https://phabricator.kde.org/D16356</a></div></div><br /><div><strong>To: </strong>buschinski, KDevelop<br /><strong>Cc: </strong>mwolff, kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>