Fix Infinite Recursion in DUChain

Authored by croick on Oct 4 2019, 8:51 AM.

Description

Fix Infinite Recursion in DUChain

In some projects - I recognized the issue browsing the kbanking part of KMyMoney -
aliased types may point to themselves. I assume an issue with forward-declared types,
but did not investigate this further.
The recursive call of declarationSizeInformation() may then lead to an infinite number
of function calls and consequently to a stack overflow.

The fix ends the recursion if the type is recurring.

Details

Committed
croickOct 4 2019, 8:51 AM
Parents
R32:384549b4089d: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown