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