aboutsummaryrefslogtreecommitdiffstats
path: root/ApiExtractor/abstractmetabuilder.cpp
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2015-02-17 13:40:46 -0500
committerJohn Cummings <jcummings2@users.sf.net>2015-02-19 13:42:38 +0000
commit4978122812f82f351351767087d7fb9b8915c8c4 (patch)
tree201654c65dee5c7bbb119712f198ce3321a62531 /ApiExtractor/abstractmetabuilder.cpp
parent4e0031258b9098c5dc02b34e5eb570e54307e6b5 (diff)
Return enums in declaration order (order added)
Modify _ScopeModelItem to return enums (from the enums() method) in the order that they were added (which presumably is the order in which they were declared). We must do this because we must process enumerations in the same order in order to resolve values, as later declared enums may refer to values from earlier declared enums (and in fact, this is exactly the case in the 'testenum' test), and the order we get just from QHash may not match declaration order. Change-Id: I15a05df98a2cee7ecccb6c82d3f9017735281245 Reviewed-by: John Cummings <jcummings2@users.sf.net>
Diffstat (limited to 'ApiExtractor/abstractmetabuilder.cpp')
0 files changed, 0 insertions, 0 deletions