diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-28 23:16:15 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-11-28 23:16:15 +0000 |
commit | ad5459a67c7c04960df52d21af08b2e99af537b4 (patch) | |
tree | 92ac2f4f7f5cc731f8ec37681a6956daec171c50 /docs/ReleaseNotes.html | |
parent | a4d36a6dd00c1495cfe3b64f949d70ba9f778391 (diff) |
Release notes: fix up formatting of diagnostic example.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.html')
-rw-r--r-- | docs/ReleaseNotes.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index a8ca90d5d1..091605d648 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -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 |