54 lines · plain
1{{! 2 Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3 See https://llvm.org/LICENSE.txt for license information.4 SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5 6 This file defines the template for enums7}}8<div id="{{ID}}" class="delimiter-container">9 <div>10 <pre>11 <code class="language-cpp code-clang-doc">12enum {{Name}}13 </code>14 </pre>15 </div>16 {{! Enum Values }}17 <table class="table-wrapper">18 <tbody>19 <tr>20 <th>Name</th>21 <th>Value</th>22 {{#HasComment}}23 <th>Comment</th>24 {{/HasComment}}25 </tr>26 {{#Members}}27 <tr>28 <td>{{Name}}</td>29 {{! A ValueExpr is an explicitly assigned enum value }}30 {{#Value}}31 <td>{{Value}}</td>32 {{/Value}}33 {{^Value}}34 <td>{{ValueExpr}}</td>35 {{/Value}}36 {{#EnumValueComments}}37 <td>{{>Comments}}</td>38 {{/EnumValueComments}}39 </tr>40 {{/Members}}41 </tbody>42 </table>43 {{#EnumComments}}44 <div>45 {{>Comments}}46 </div>47 {{/EnumComments}}48 {{#Location}}49 <div>50 Defined at line {{LineNumber}} of file {{Filename}}51 </div>52 {{/Location}}53</div>54