template <{{#Parameters}}{{Param}}{{^End}}, {{/End}}{{/Parameters}}>
+ {{/Template}}
{{TagType}} {{Name}}
Defined at line {{Location.LineNumber}} of file {{Location.Filename}}
diff --git a/clang-tools-extra/clang-doc/assets/function-template.mustache b/clang-tools-extra/clang-doc/assets/function-template.mustache index dc787bf0c8694..5e02257f86de8 100644 --- a/clang-tools-extra/clang-doc/assets/function-template.mustache +++ b/clang-tools-extra/clang-doc/assets/function-template.mustache @@ -7,13 +7,17 @@ }}template <{{#Parameters}}{{Param}}{{^End}}, {{/End}}{{/Parameters}}>
+ {{/Template}}
{{! Function Prototype }}
- {{ReturnType.Name}} {{Name}} ({{#Params}}{{^End}}{{Type}} {{Name}}, {{/End}}{{#End}}{{Type}} {{Name}}{{/End}}{{/Params}})
+ {{ReturnType.Name}} {{Name}}{{#Template}}{{#Specialization}}<{{#Parameters}}{{Param}}{{^End}}, {{/End}}{{/Parameters}}>{{/Specialization}}{{/Template}} ({{#Params}}{{^End}}{{Type}} {{Name}}, {{/End}}{{#End}}{{Type}} {{Name}}{{/End}}{{/Params}})
{{! Function Comments }}
{{#Description}}
Defined at line {{Location.LineNumber}} of file {{Location.Filename}}
Index
+ {{#Index}} + + {{/Index}} +-
+ {{#Functions}}
+
+ {{/Functions}}
+
-
+ {{#Namespaces}}
+
+ {{/Namespaces}}
+
Namespaces
+-
+ {{#Namespaces}}
+
-
+
+
+ +namespace {{Name}}
+ {{/Namespaces}}
+
Enumerations
@@ -71,6 +113,18 @@Functions
+-
+ {{#Functions}}
+
- + {{>FunctionPartial}} + + {{/Functions}} +