Revision b45c87b...
Go back to digest for 4th August 2013Bug Fixes in Development Tools
Andreas Pakulat committed changes in [kdevelop/4.5] languages/cpp/cppduchain/templatedeclaration.cpp:
Fix endless recursion in setSpecializedFrom
This could be triggered by having the exactly same specialization occur
twice in a single file. setSpecializedFrom would end up calling itself
with the same TemplateDeclaration over and over again.
Adding another recursion counter in the same way that other places already
have one fixes the problem. Unfortunately I wasn't able to generate a test
that exhibits the recursion problem.
File Changes
Modified 1 files
- languages/cpp/cppduchain/templatedeclaration.cpp
1 files changed in total