From: Chris Lattner Date: Thu, 5 Feb 2009 22:49:08 +0000 (+0000) Subject: document fatal X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0aad297c0be7708f390f1f2ba632a1c9b7c71e54;p=clang document fatal git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63895 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/InternalsManual.html b/docs/InternalsManual.html index 0d029f7e37..89111dac47 100644 --- a/docs/InternalsManual.html +++ b/docs/InternalsManual.html @@ -165,14 +165,16 @@ level is used to staple more information onto a previous diagnostics.

These severities are mapped into a smaller set (the Diagnostic::Level enum, {Ignored, Note, Warning, -Error }) of output levels by the diagnostics subsystem based +Error, Fatal }) of output levels by the diagnostics +subsystem based on various configuration options. For example, if the user specifies -pedantic, EXTENSION maps to Warning, if they specify -pedantic-errors, it turns into Error. Clang also internally supports a fully fine grained mapping mechanism that allows you to map any diagnostic that doesn't have ERRROR severity to any output level that you want. This is used to implement options like -Wunused_macros, --Wundef etc.

+-Wundef etc. Fatal errors are considered so severe that diagnostics +that occur after them are supressed as "almost certainly useless".

The Format String