Re: Review Request 124126: Referencies used on temporary object IndexedString modifié : cppduchain/cpppreprocessenvironment.cpp

Sébastien Lambert opensc at beonis.fr
Mon Jun 22 20:02:04 UTC 2015



> On juin 19, 2015, 6:50 après-midi, Aleix Pol Gonzalez wrote:
> > Hi,
> > What are you trying to achieve?
> 
> Milian Wolff wrote:
>     He wants to remove a compiler warning.

I found a very bag bug. 
When I load my project with the current master, cpp analyse crash on this line.
After analyse I found that call ref function is not correct with IndexString because IndexString::fromIndex return a local variable


- Sébastien


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


On juin 19, 2015, 9:47 matin, Sébastien Lambert wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124126/
> -----------------------------------------------------------
> 
> (Updated juin 19, 2015, 9:47 matin)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdevelop
> 
> 
> Description
> -------
> 
> Use of references of local local object IndexedString 	modifié :         cppduchain/cpppreprocessenvironment.cpp
> 
> 
> Diffs
> -----
> 
>   languages/cpp/cppduchain/cpppreprocessenvironment.cpp 6727e74f2c3f043952625a524de6d74e84b32892 
> 
> Diff: https://git.reviewboard.kde.org/r/124126/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Sébastien Lambert
> 
>

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


More information about the KDevelop-devel mailing list