diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-03-15 15:59:17 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-03-16 07:22:25 +0000 |
commit | 3c325a0004a377da14ad255addb42e23c4e9cf17 (patch) | |
tree | e124c854dc8657d834758a72595537b4b79a86b0 /ApiExtractor/parser/codemodel.cpp | |
parent | 5d3329c54f7173e3ec5c76348ba7994e39f3641f (diff) |
AbstractMetaBuilder::traverseFunctions() Split out duplicate removal
The removal of duplicate member function entries depended on the
fact that the more specific, out-of-line function definitions were
first in the list of functions returned by ScopeModelItem::functions().
This happened to work by coincidence since ScopeModelItem used a
QHash, which reversed the order returned by the parser.
When trying to replace the QHash by a QList in order to get
rid of the non-determinism,
TestTemplates::testContainerTypeIncompleteArgument() would fail
since it finds 2 entries for "method()".
Change-Id: I7c5a49bef8644d1f05e6a14295b304b1a9b8c46f
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'ApiExtractor/parser/codemodel.cpp')
0 files changed, 0 insertions, 0 deletions