1 | |
2 | def GlobalDocumentation { |
3 | code Intro =[{.. |
4 | ------------------------------------------------------------------- |
5 | NOTE: This file is automatically generated by running clang-tblgen |
6 | -gen-diag-docs. Do not edit this file by hand!! |
7 | ------------------------------------------------------------------- |
8 | |
9 | .. Add custom CSS to output. FIXME: This should be put into <head> rather |
10 | than the start of <body>. |
11 | .. raw:: html |
12 | |
13 | <style> |
14 | table.docutils { |
15 | width: 1px; |
16 | } |
17 | table.docutils td { |
18 | border: none; |
19 | padding: 0 0 0 0.2em; |
20 | vertical-align: middle; |
21 | white-space: nowrap; |
22 | width: 1px; |
23 | font-family: monospace; |
24 | } |
25 | table.docutils tr + tr { |
26 | border-top: 0.2em solid #aaa; |
27 | } |
28 | .error { |
29 | font-family: monospace; |
30 | font-weight: bold; |
31 | color: #c00; |
32 | } |
33 | .warning { |
34 | font-family: monospace; |
35 | font-weight: bold; |
36 | color: #80a; |
37 | } |
38 | .remark { |
39 | font-family: monospace; |
40 | font-weight: bold; |
41 | color: #00c; |
42 | } |
43 | .diagtext { |
44 | font-family: monospace; |
45 | font-weight: bold; |
46 | } |
47 | </style> |
48 | |
49 | .. FIXME: rST doesn't support formatting this, so we format all <td> elements |
50 | as monospace font face instead. |
51 | .. |nbsp| unicode:: 0xA0 |
52 | :trim: |
53 | |
54 | .. Roles generated by clang-tblgen. |
55 | .. role:: error |
56 | .. role:: warning |
57 | .. role:: remark |
58 | .. role:: diagtext |
59 | .. role:: placeholder(emphasis) |
60 | |
61 | ========================= |
62 | Diagnostic flags in Clang |
63 | ========================= |
64 | .. contents:: |
65 | :local: |
66 | |
67 | Introduction |
68 | ============ |
69 | |
70 | This page lists the diagnostic flags currently supported by Clang. |
71 | |
72 | Diagnostic flags |
73 | ================ |
74 | }]; |
75 | } |
76 | |