D6316: Add codecompletion from embedded structs

Mikhail Ivchenko noreply at phabricator.kde.org
Wed Jun 21 15:12:05 UTC 2017


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

REVISION SUMMARY
  Add declarations from embedded structs to top level struct. See difference on screenshots: worker has embedded struct person and person has embedded struct log.Logger so worker ends up with both person and log.Logger fields and methods.
  Before: F3789261: recursive_completion_before.png <https://phabricator.kde.org/F3789261>
  After: F3789260: recursive_completion_after.png <https://phabricator.kde.org/F3789260>

TEST PLAN
  Added tests.

REPOSITORY
  R59 KDevelop Go

BRANCH
  recursive_completion

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

AFFECTED FILES
  codecompletion/context.cpp
  codecompletion/context.h
  codecompletion/tests/testcompletion.cpp
  codecompletion/tests/testcompletion.h
  duchain/builders/declarationbuilder.cpp

To: ematirov, apol, brauch
Cc: kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170621/c5f556af/attachment.html>


More information about the KDevelop-devel mailing list