Review Request: Add possibility to force DeclarationIds to be always direct

Sven Brauch svenbrauch at gmx.de
Fri Mar 18 11:02:09 UTC 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/100875/
-----------------------------------------------------------

(Updated March 18, 2011, 11:02 a.m.)


Review request for KDevelop.


Changes
-------

Thanks milian, I updated the diff to reflect your suggestions.


Summary
-------

As suggested by David on the mailing list, this patch adds the possibility to force a DeclarationId to be always "direct", making correct reporting of uses possible for contexts which are imported into the InternalContext of a newly created Declaration, as required for the python language plugin (at least I couldn't find another working solution). It adds a 1-bit boolean to the DeclarationData class, hope that's not a problem.


Diffs (updated)
-----

  language/duchain/declaration.h 77abb95 
  language/duchain/declaration.cpp ce70ff3 
  language/duchain/declarationdata.h f02a9b1 

Diff: http://git.reviewboard.kde.org/r/100875/diff


Testing
-------


Thanks,

Sven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110318/9de0f42b/attachment.html>


More information about the KDevelop-devel mailing list