Introduce KDevelop::Stack (replaces QStack)
Summary:
See class documentation for more details.
When using KDevelop::Stack instead of QStack the heap allocations go almost done to zero
within KDevelop. QStack::pop in particular is implemented *very*
inefficient, every call causes a realloc b/c QStack tries to squeeze the
container.
Reviewers: KDevelop, mwolff
Reviewed By: KDevelop, mwolff
Subscribers: mwolff, kdevelop-devel
Projects: KDevelop
Differential Revision: https://phabricator.kde.org/D328