summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-08 12:32:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-08 12:32:33 (GMT)
commit97d12d058a7831adcc8c6f2cfe8c20ddd2ae5bc2 (patch)
treecbe9d47addde8fc8e3c8a3a017165bb0cce1ba3b /src/xmlgen.cpp
parented8ce3cf405204916f9832e26797cb15d1490fd1 (diff)
downloadDoxygen-97d12d058a7831adcc8c6f2cfe8c20ddd2ae5bc2.zip
Doxygen-97d12d058a7831adcc8c6f2cfe8c20ddd2ae5bc2.tar.gz
Doxygen-97d12d058a7831adcc8c6f2cfe8c20ddd2ae5bc2.tar.bz2
Bug 733451 - volatile declaration on member functions is not handled as xml attribute
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 2bb5734..c9fe950 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -646,6 +646,11 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
t << " required=\"yes\"";
}
+ if (al && al->volatileSpecifier)
+ {
+ t << " volatile=\"yes\"";
+ }
+
t << " virt=\"";
switch (md->virtualness())
{
@@ -671,7 +676,6 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
{
t << " initonly=\"yes\"";
}
-
if (md->isAttribute())
{
t << " attribute=\"yes\"";