aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-doc/assets/function-template.mustache
blob: 2510a4de2cd68a88fab2d1d2fad0d996dc894b56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{! 
    Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
    See https://llvm.org/LICENSE.txt for license information.
    SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

    This file defines the template for functions/methods
}}
<div class="delimiter-container">
    <div id="{{USR}}">
        {{! Function Prototype }}
        <pre>
            <code class="language-cpp code-clang-doc">
{{ReturnType.Name}} {{Name}} ({{#Params}}{{^End}}{{Type}} {{Name}}, {{/End}}{{#End}}{{Type}} {{Name}}{{/End}}{{/Params}})
            </code>
        </pre>
        {{! Function Comments }}
        {{#Description}}
        <div>
            {{>Comments}}
        </div>
        {{/Description}}
    </div>
</div>