summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-03-15 12:17:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-03-15 12:17:14 (GMT)
commit95375152974fa7e0e4d4cec7007d942dd5e9615e (patch)
treeaa6142b658f2d43ff808b290a16d42d52871b3b5 /src/xmlgen.cpp
parentc9465bd210d8250a5439f22bf564c187cd45e968 (diff)
downloadDoxygen-95375152974fa7e0e4d4cec7007d942dd5e9615e.zip
Doxygen-95375152974fa7e0e4d4cec7007d942dd5e9615e.tar.gz
Doxygen-95375152974fa7e0e4d4cec7007d942dd5e9615e.tar.bz2
Fixes for showing type constraint relations
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index c2eddd5..215b88a 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -394,6 +394,12 @@ static void writeTemplateArgumentList(ArgumentList *al,
linkifyText(TextGeneratorXMLImpl(t),scope,fileScope,0,a->defval);
t << "</defval>" << endl;
}
+ if (!a->typeConstraint.isEmpty())
+ {
+ t << indentStr << " <typeconstraint>";
+ linkifyText(TextGeneratorXMLImpl(t),scope,fileScope,0,a->typeConstraint);
+ t << "</typeconstraint>" << endl;
+ }
t << indentStr << " </param>" << endl;
}
t << indentStr << "</templateparamlist>" << endl;