Review Request 111796: Avoid endless recursions in TemplateDeclaration::setSpecializedFrom

Andreas Pakulat apaku at gmx.de
Tue Jul 30 16:56:17 UTC 2013


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


I just noticed that the real case is not fixed by this unfortunately, so will have to do some more digging.

- Andreas Pakulat


On July 30, 2013, 12:39 p.m., Andreas Pakulat wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111796/
> -----------------------------------------------------------
> 
> (Updated July 30, 2013, 12:39 p.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Description
> -------
> 
> Avoid endless recursions in TemplateDeclaration::setSpecializedFrom
> 
> Having two template specializations with the same signature causes an
> endless recursion here. I don't see a reason why a TemplateDeclaration
> should update its 'specializedFrom' stuff if that already is up-to-date.
> So in the case the other->specializedFrom.data() is already what this
> declaration has, there's simply nothing to do.
> 
> 
> Diffs
> -----
> 
>   languages/cpp/cppduchain/templatedeclaration.cpp b35ba13a0eacb5157a921cf96fdc22c091f625e1 
> 
> Diff: http://git.reviewboard.kde.org/r/111796/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Andreas Pakulat
> 
>

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


More information about the KDevelop-devel mailing list