Review Request 115770: fix the expression visitor

Sven Brauch svenbrauch at googlemail.com
Sun Feb 16 10:28:11 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115770/#review49896
-----------------------------------------------------------



duchain/expressionvisitor.cpp
<https://git.reviewboard.kde.org/r/115770/#comment35062>

    In fact -- sorry for not looking at this closely the first time -- why not just
    
    for ( const auto& item: node->partSequence ) {
      QString ident = ...(item.element->...);
      id.push(...)
    }
    ?
    
    But doesn't matter much of course ;)


- Sven Brauch


On Feb. 16, 2014, 2:37 a.m., Matija Skala wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115770/
> -----------------------------------------------------------
> 
> (Updated Feb. 16, 2014, 2:37 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdev-java
> 
> 
> Description
> -------
> 
> Expression visitor should not inherit from the context builder
> and should not visit the whole compilation unit.
> 
> This commit fixes the problem with variable colors.
> 
> 
> Diffs
> -----
> 
>   duchain/abstractexpressionvisitor.h a590096 
>   duchain/expressionvisitor.h 652a2cd 
>   duchain/expressionvisitor.cpp 95b660f 
>   duchain/usebuilder.h 48e591d 
>   duchain/usebuilder.cpp 527e813 
> 
> Diff: https://git.reviewboard.kde.org/r/115770/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Matija Skala
> 
>

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


More information about the KDevelop-devel mailing list