Review Request 113787: Build uses for static strings that reference class name

Milian Wolff mail at milianw.de
Wed Jan 15 12:56:01 UTC 2014


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



duchain/expressionvisitor.cpp
<https://git.reviewboard.kde.org/r/113787/#comment33740>

    instead of doing the mid (which requires another allocation and copies the contents again), just add ' and/or " to the regexp.



duchain/expressionvisitor.cpp
<https://git.reviewboard.kde.org/r/113787/#comment33741>

    well, then go for it!


- Milian Wolff


On Nov. 10, 2013, 4:36 p.m., Niko Sams wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/113787/
> -----------------------------------------------------------
> 
> (Updated Nov. 10, 2013, 4:36 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdev-php
> 
> 
> Description
> -------
> 
> In scripting languages class names are often passed around as strings. This patch will build uses for such a string if a class declaration exists.
> 
> Eclipse also does this and it's quite useful to work with.
> 
> 
> Diffs
> -----
> 
>   duchain/expressionvisitor.h b3f954d 
>   duchain/expressionvisitor.cpp cfb256a 
>   duchain/tests/uses.h 4cd0c11 
>   duchain/tests/uses.cpp 95e8d99 
> 
> Diff: https://git.reviewboard.kde.org/r/113787/diff/
> 
> 
> Testing
> -------
> 
> unit tests still pass
> 
> 
> Thanks,
> 
> Niko Sams
> 
>

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


More information about the KDevelop-devel mailing list