summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-27 13:25:53 (GMT)
committerBrad King <brad.king@kitware.com>2015-05-27 13:25:53 (GMT)
commite1f6cbcff527d7cfa9e0fa456c8bd05860915341 (patch)
treec0ecd8a4dc2cdff6d467082e7548e8765589f6cd /test
parent23931168b2a1f251154eeb5bd72eca39d72fc21b (diff)
downloadCastXML-e1f6cbcff527d7cfa9e0fa456c8bd05860915341.zip
CastXML-e1f6cbcff527d7cfa9e0fa456c8bd05860915341.tar.gz
CastXML-e1f6cbcff527d7cfa9e0fa456c8bd05860915341.tar.bz2
Output: Move function type attributes to end of element attribute list
Function type attributes like attributes="__thiscall__" are specific to the architecture and so may need to be filtered during testing. Move them to be the last xml attribute in their element to make filtering easier.
Diffstat (limited to 'test')
-rw-r--r--test/expect/gccxml.any.Function-calling-convention-ms.xml.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/expect/gccxml.any.Function-calling-convention-ms.xml.txt b/test/expect/gccxml.any.Function-calling-convention-ms.xml.txt
index 2a0a1b3..732d970 100644
--- a/test/expect/gccxml.any.Function-calling-convention-ms.xml.txt
+++ b/test/expect/gccxml.any.Function-calling-convention-ms.xml.txt
@@ -3,13 +3,13 @@
<Function id="_1" name="start" returns="_5" context="_6" location="f1:1" file="f1" line="1" mangled="[^"]+">
<Argument type="_7" location="f1:1" file="f1" line="1"/>
</Function>
- <Function id="_2" name="start" returns="_5" context="_6" location="f1:2" file="f1" line="2" attributes="__stdcall__" mangled="[^"]+">
+ <Function id="_2" name="start" returns="_5" context="_6" location="f1:2" file="f1" line="2" mangled="[^"]+" attributes="__stdcall__">
<Argument type="_8" location="f1:2" file="f1" line="2"/>
</Function>
- <Function id="_3" name="start" returns="_5" context="_6" location="f1:3" file="f1" line="3" attributes="__fastcall__" mangled="[^"]+">
+ <Function id="_3" name="start" returns="_5" context="_6" location="f1:3" file="f1" line="3" mangled="[^"]+" attributes="__fastcall__">
<Argument type="_9" location="f1:3" file="f1" line="3"/>
</Function>
- <Function id="_4" name="start" returns="_5" context="_6" location="f1:4" file="f1" line="4" attributes="__thiscall__" mangled="[^"]+">
+ <Function id="_4" name="start" returns="_5" context="_6" location="f1:4" file="f1" line="4" mangled="[^"]+" attributes="__thiscall__">
<Argument type="_10" location="f1:4" file="f1" line="4"/>
</Function>
<FundamentalType id="_5" name="void" size="[0-9]+" align="[0-9]+"/>