summaryrefslogtreecommitdiffstats
path: root/test/expect/gccxml.any.Function-Argument-default.xml.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-11 14:26:28 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-11 14:30:03 (GMT)
commit1a34898d200aff27a16c4efb67b783ccbcb44008 (patch)
treead017de5fe32d92f24e74be4c09d056974ebd4cd /test/expect/gccxml.any.Function-Argument-default.xml.txt
parent159fa06a9323e76e9cc2a67a899cc216f266bf5a (diff)
downloadCastXML-1a34898d200aff27a16c4efb67b783ccbcb44008.zip
CastXML-1a34898d200aff27a16c4efb67b783ccbcb44008.tar.gz
CastXML-1a34898d200aff27a16c4efb67b783ccbcb44008.tar.bz2
Output: Order queue deterministically by node index
Use a set<> instead of a queue<> to represent the output node queue. Order nodes by the dump node index. The index is the same as the order of encounter so for complete nodes this should normally be the same order as before. However, QueueIncompleteDumpNodes previously ordered based on memory position which is not deterministic. Use the node index to get a consistent order across runs. Fix the expected output for test cases that changed the order of incomplete nodes.
Diffstat (limited to 'test/expect/gccxml.any.Function-Argument-default.xml.txt')
-rw-r--r--test/expect/gccxml.any.Function-Argument-default.xml.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/expect/gccxml.any.Function-Argument-default.xml.txt b/test/expect/gccxml.any.Function-Argument-default.xml.txt
index 8160551..ecd9c65 100644
--- a/test/expect/gccxml.any.Function-Argument-default.xml.txt
+++ b/test/expect/gccxml.any.Function-Argument-default.xml.txt
@@ -8,7 +8,7 @@
<FundamentalType id="_4" name="int"/>
<PointerType id="_5" type="_7c"/>
<Namespace id="_3" name="::"/>
- <FundamentalType id="_7" name="char"/>
<CvQualifiedType id="_7c" type="_7" const="1"/>
+ <FundamentalType id="_7" name="char"/>
<File id="f1" name=".*/test/input/Function-Argument-default.cxx"/>
</GCC_XML>$