D6680: Use return typehints in typebuilder for PHP language

Matthijs Tijink noreply at phabricator.kde.org
Thu Jul 13 13:35:26 UTC 2017


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

REVISION SUMMARY
  The return typehints are now used for function signatures. I also inlined `TypeBuilder::openFunctionType` into `TypeBuilder::visitClassStatement` since it's only used there and it makes the code clearer in my opinion.

REPOSITORY
  R52 KDevelop: PHP Support

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

AFFECTED FILES
  duchain/builders/typebuilder.cpp
  duchain/builders/typebuilder.h
  duchain/expressionvisitor.cpp
  duchain/helper.cpp
  duchain/helper.h
  duchain/tests/duchain.cpp
  duchain/tests/duchain.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/c78e71e5/attachment.html>


More information about the KDevelop-devel mailing list