Author: rsmith
Date: Mon Nov 28 17:16:15 2011
New Revision: 145311

URL: http://llvm.org/viewvc/llvm-project?rev=145311&view=rev
Log:
Release notes: fix up formatting of diagnostic example.

Modified:
    cfe/trunk/docs/ReleaseNotes.html

Modified: cfe/trunk/docs/ReleaseNotes.html
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.html?rev=145311&r1=145310&r2=145311&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.html (original)
+++ cfe/trunk/docs/ReleaseNotes.html Mon Nov 28 17:16:15 2011
@@ -109,14 +109,13 @@
   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


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to