mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 23:50:19 +00:00
Release notes: fix up formatting of diagnostic example.
llvm-svn: 145311
This commit is contained in:
parent
ca295457e5
commit
a7c7e2bb84
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user