Commit 97d12d05 authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 733451 - volatile declaration on member functions is not handled as xml attribute

parent ed8ce3cf
...@@ -145,12 +145,12 @@ ...@@ -145,12 +145,12 @@
<xsd:attribute name="id" type="xsd:string" /> <xsd:attribute name="id" type="xsd:string" />
<xsd:attribute name="prot" type="DoxProtectionKind" /> <xsd:attribute name="prot" type="DoxProtectionKind" />
<xsd:attribute name="static" type="DoxBool" /> <xsd:attribute name="static" type="DoxBool" />
<xsd:attribute name="const" type="DoxBool" /> <xsd:attribute name="const" type="DoxBool" use="optional"/>
<xsd:attribute name="explicit" type="DoxBool" /> <xsd:attribute name="explicit" type="DoxBool" use="optional"/>
<xsd:attribute name="inline" type="DoxBool" /> <xsd:attribute name="inline" type="DoxBool" use="optional"/>
<xsd:attribute name="virt" type="DoxVirtualKind" /> <xsd:attribute name="virt" type="DoxVirtualKind" use="optional"/>
<xsd:attribute name="volatile" type="DoxBool" /> <xsd:attribute name="volatile" type="DoxBool" use="optional"/>
<xsd:attribute name="mutable" type="DoxBool" /> <xsd:attribute name="mutable" type="DoxBool" use="optional"/>
<!-- Qt property --> <!-- Qt property -->
<xsd:attribute name="readable" type="DoxBool" use="optional"/> <xsd:attribute name="readable" type="DoxBool" use="optional"/>
<xsd:attribute name="writable" type="DoxBool" use="optional"/> <xsd:attribute name="writable" type="DoxBool" use="optional"/>
......
...@@ -646,6 +646,11 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De ...@@ -646,6 +646,11 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
t << " required=\"yes\""; t << " required=\"yes\"";
} }
if (al && al->volatileSpecifier)
{
t << " volatile=\"yes\"";
}
t << " virt=\""; t << " virt=\"";
switch (md->virtualness()) switch (md->virtualness())
{ {
...@@ -671,7 +676,6 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De ...@@ -671,7 +676,6 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
{ {
t << " initonly=\"yes\""; t << " initonly=\"yes\"";
} }
if (md->isAttribute()) if (md->isAttribute())
{ {
t << " attribute=\"yes\""; t << " attribute=\"yes\"";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment