From 22a83d10db269c4a5d17873936292621eb64811f Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 13 Jan 2019 12:57:59 +0100 Subject: Added noexcept attribute to the XML output --- src/xmlgen.cpp | 5 +++++ templates/xml/compound.xsd | 1 + 2 files changed, 6 insertions(+) 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 @@ + -- cgit v0.12