D6690: Fix uses of class in closure parameters

Matthijs Tijink noreply at phabricator.kde.org
Thu Jul 13 17:44:17 UTC 2017


mtijink created this revision.
mtijink added a project: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Uses of classes in closures were not captured previously, this diff adds that. This diff needs some changes after:
  
  - https://phabricator.kde.org/D6675: to make sure return types of closures are also added to the uses
  - https://phabricator.kde.org/D6670: default values will not be static scalars anymore, so the visitor call changes (and the default value use capturing can be more easily tested)
  
  So comments welcome, but I'd prefer first landing https://phabricator.kde.org/D6675 and https://phabricator.kde.org/D6670 and making the changes here.

REPOSITORY
  R52 KDevelop: PHP Support

REVISION DETAIL
  https://phabricator.kde.org/D6690

AFFECTED FILES
  duchain/expressionvisitor.cpp
  duchain/tests/uses.cpp
  duchain/tests/uses.h

To: mtijink, #kdevelop
Cc: kdevelop-devel, #kdevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170713/5141a823/attachment-0001.html>


More information about the KDevelop-devel mailing list