diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-05-04 16:12:48 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-05-04 16:12:48 +0000 |
commit | 0883ccd9eac3b974df00e6548ee319a7dd3646f4 (patch) | |
tree | d6a70c3518b8dea8be7062438d7e8676820ed17f /docs/InternalsManual.html | |
parent | 60bfabcd8ce617297c0d231f77d14ab507e98796 (diff) |
Notes
Diffstat (limited to 'docs/InternalsManual.html')
-rw-r--r-- | docs/InternalsManual.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/InternalsManual.html b/docs/InternalsManual.html index 5d75eaa45390f..daec6b0194157 100644 --- a/docs/InternalsManual.html +++ b/docs/InternalsManual.html @@ -145,13 +145,13 @@ diagnostic :).</p> pieces, this section describes them and talks about best practices when adding a new diagnostic.</p> -<!-- ============================ --> -<h4>The DiagnosticKinds.def file</h4> -<!-- ============================ --> +<!-- ============================== --> +<h4>The Diagnostic*Kinds.def files</h4> +<!-- ============================== --> -<p>Diagnostics are created by adding an entry to the <tt><a -href="http://llvm.org/svn/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticKinds.def" ->DiagnosticKinds.def</a></tt> file. This file encodes the unique ID of the +<p>Diagnostics are created by adding an entry to one of the <tt> +clang/Basic/Diagnostic*Kinds.def</tt> files, depending on what library will +be using it. This file encodes the unique ID of the diagnostic (as an enum, the first argument), the severity of the diagnostic (second argument) and the English translation + format string.</p> |