[cfe-commits] r63895 - /cfe/trunk/docs/InternalsManual.html

Chris Lattner sabre at nondot.org
Thu Feb 5 14:49:08 PST 2009


Author: lattner
Date: Thu Feb  5 16:49:08 2009
New Revision: 63895

URL: http://llvm.org/viewvc/llvm-project?rev=63895&view=rev
Log:
document fatal

Modified:
    cfe/trunk/docs/InternalsManual.html

Modified: cfe/trunk/docs/InternalsManual.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/InternalsManual.html?rev=63895&r1=63894&r2=63895&view=diff

==============================================================================
--- cfe/trunk/docs/InternalsManual.html (original)
+++ cfe/trunk/docs/InternalsManual.html Thu Feb  5 16:49:08 2009
@@ -165,14 +165,16 @@
 
 <p>These <em>severities</em> are mapped into a smaller set (the
 Diagnostic::Level enum, {<tt>Ignored</tt>, <tt>Note</tt>, <tt>Warning</tt>,
-<tt>Error</tt> }) of output <em>levels</em> by the diagnostics subsystem based
+<tt>Error</tt>, <tt>Fatal</tt> }) of output <em>levels</em> by the diagnostics
+subsystem based
 on various configuration options.  For example, if the user specifies
 <tt>-pedantic</tt>, <tt>EXTENSION</tt> maps to <tt>Warning</tt>, if they specify
 <tt>-pedantic-errors</tt>, it turns into <tt>Error</tt>.  Clang also internally
 supports a fully fine grained mapping mechanism that allows you to map any
 diagnostic that doesn't have <tt>ERRROR</tt> severity to any output level that
 you want.  This is used to implement options like <tt>-Wunused_macros</tt>,
-<tt>-Wundef</tt> etc.</p>
+<tt>-Wundef</tt> etc.  Fatal errors are considered so severe that diagnostics
+that occur after them are supressed as "almost certainly useless".</p>
 
 <!-- ================= -->
 <h4>The Format String</h4>





More information about the cfe-commits mailing list