D7593: Find generator variables without fake early declarations
Francis Herne
noreply at phabricator.kde.org
Mon Aug 28 21:49:54 UTC 2017
flherne created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
This causes the real point of declaration to be bolded/highlighted. It also means all declarations have the same range as their NameAst node, which should allow simplification of some other code (not in this patch).
TEST PLAN
Doesn't break the tests. TODO: add some more, including some already-broken cases I discovered, and do some duchainify runs.
REPOSITORY
R53 KDevelop: Python Support
REVISION DETAIL
https://phabricator.kde.org/D7593
AFFECTED FILES
codecompletion/context.cpp
duchain/declarationbuilder.cpp
duchain/expressionvisitor.cpp
duchain/helpers.cpp
duchain/helpers.h
duchain/usebuilder.cpp
To: flherne, brauch
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170828/aa25568c/attachment.html>
More information about the KDevelop-devel
mailing list