Release notes: fix up formatting of diagnostic example.

llvm-svn: 145311
This commit is contained in:
Richard Smith 2011-11-28 23:16:15 +00:00
parent ca295457e5
commit a7c7e2bb84
1 changed files with 4 additions and 5 deletions

View File

@ -109,14 +109,13 @@ A few improvements since the 2.9 release that have a particularly high impact:
stacks, and tuning verbose features such as 'a.k.a.' type printing.</li>
<li>
Able to recover and correct from misspelled type names at the begging of statements. For example, Clang now emits:
<code>t.c:6:3: error: use of undeclared identifier 'integer'; did you mean
'Integer'?
<pre><b>t.c:6:3: <span class="error">error:</span> use of undeclared identifier 'integer'; did you mean 'Integer'?</b>
integer *i = 0;
^~~~~~~
<span class="caret">^~~~~~~</span>
Integer
t.c:1:13: note: 'Integer' declared here
<b>t.c:1:13: note:</b> 'Integer' declared here
typedef int Integer;
^</code>
<span class="caret">^</span></pre>
</li>
<li>Expanded typo correction to (among other improvements) look across
namespaces and suggest namespace qualifiers in addition to misspellings of the