Review Request 114397: Show uses for default-initialization

Kevin Funk krf at gmx.de
Wed Dec 11 08:06:44 UTC 2013


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

Review request for KDevelop.


Bugs: 300347
    http://bugs.kde.org/show_bug.cgi?id=300347


Repository: kdevelop


Description
-------

Show uses for default-initialization

Before this patch, declarations such as '{ A a; }' didn't increase the
use-count of 'A::A()'

BUG: 300347


Questions:
- What branch?
- Does the line regarding start_token = node->end_token make sense?
  The problem is that for "A a;" we actually have nothing we can "mark", no? So I decided to let the use just point to an empty string. Other ideas?


Diffs
-----

  languages/cpp/cppduchain/expressionvisitor.cpp 5e1200f023ff49d9c9e341f286173ecf6ceb94a3 
  languages/cpp/cppduchain/tests/test_duchain.cpp c7aa38de8fc7f6ff6a32d0ae24958c3ed6f30121 

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


Testing
-------


Thanks,

Kevin Funk

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


More information about the KDevelop-devel mailing list