<table><tr><td style="">mtijink created this revision.<br />mtijink added a project: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.
</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/D6690" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Uses of classes in closures were not captured previously, this diff adds that. This diff needs some changes after:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item"><a href="https://phabricator.kde.org/D6675" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D6675</a>: to make sure return types of closures are also added to the uses</li>
<li class="remarkup-list-item"><a href="https://phabricator.kde.org/D6670" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D6670</a>: default values will not be static scalars anymore, so the visitor call changes (and the default value use capturing can be more easily tested)</li>
</ul>
<p>So comments welcome, but I'd prefer first landing <a href="https://phabricator.kde.org/D6675" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D6675</a> and <a href="https://phabricator.kde.org/D6670" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D6670</a> and making the changes here.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R52 KDevelop: PHP Support</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6690" rel="noreferrer">https://phabricator.kde.org/D6690</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>duchain/expressionvisitor.cpp<br />
duchain/tests/uses.cpp<br />
duchain/tests/uses.h</div></div></div><br /><div><strong>To: </strong>mtijink, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, KDevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>