]> granicus.if.org Git - clang/commitdiff
Release notes: fix up formatting of diagnostic example.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 28 Nov 2011 23:16:15 +0000 (23:16 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 28 Nov 2011 23:16:15 +0000 (23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145311 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.html

index a8ca90d5d154fa8c2386267fd33564ba05813250..091605d648220b94c0bafff17ce89f9e48fa8810 100644 (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