summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-01-13 11:57:59 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-01-13 11:57:59 (GMT)
commit22a83d10db269c4a5d17873936292621eb64811f (patch)
tree3a7e3cbb8fb980886ea1fbb093e4d1c8c481cda1
parent32f66fa1983d8720846b8f989a76e0d6d2df17b0 (diff)
downloadDoxygen-22a83d10db269c4a5d17873936292621eb64811f.zip
Doxygen-22a83d10db269c4a5d17873936292621eb64811f.tar.gz
Doxygen-22a83d10db269c4a5d17873936292621eb64811f.tar.bz2
Added noexcept attribute to the XML output
-rw-r--r--src/xmlgen.cpp5
-rw-r--r--templates/xml/compound.xsd1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 3c71840..9d1642c 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -629,6 +629,11 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
t << " required=\"yes\"";
}
+ if (md->isNoExcept())
+ {
+ t << " noexcept=\"yes\"";
+ }
+
if (al && al->volatileSpecifier)
{
t << " volatile=\"yes\"";
diff --git a/templates/xml/compound.xsd b/templates/xml/compound.xsd
index 1715822..0994c7c 100644
--- a/templates/xml/compound.xsd
+++ b/templates/xml/compound.xsd
@@ -155,6 +155,7 @@
<xsd:attribute name="virt" type="DoxVirtualKind" use="optional"/>
<xsd:attribute name="volatile" type="DoxBool" use="optional"/>
<xsd:attribute name="mutable" type="DoxBool" use="optional"/>
+ <xsd:attribute name="noexcept" type="DoxBool" use="optional"/>
<!-- Qt property -->
<xsd:attribute name="readable" type="DoxBool" use="optional"/>
<xsd:attribute name="writable" type="DoxBool" use="optional"/>