forked from OSchip/llvm-project
parent
3731162ade
commit
308fdf6ee9
|
@ -136,8 +136,8 @@ to tap the full potential of the clang design.</p>
|
||||||
<p>In addition to being fast and functional, we aim to make Clang extremely user
|
<p>In addition to being fast and functional, we aim to make Clang extremely user
|
||||||
friendly. As far as a command-line compiler goes, this basically boils down to
|
friendly. As far as a command-line compiler goes, this basically boils down to
|
||||||
making the diagnostics (error and warning messages) generated by the compiler
|
making the diagnostics (error and warning messages) generated by the compiler
|
||||||
be as useful as possible. There are several ways that we do this, but it
|
be as useful as possible. There are several ways that we do this, but the
|
||||||
basically boils down to pinpointing exactly what is wrong in the program,
|
most important are pinpointing exactly what is wrong in the program,
|
||||||
highlighting related information so that it is easy to understand at a glance,
|
highlighting related information so that it is easy to understand at a glance,
|
||||||
and making the wording as clear as possible.</p>
|
and making the wording as clear as possible.</p>
|
||||||
|
|
||||||
|
@ -158,9 +158,9 @@ understand what is wrong based on the Clang error: Because clang prints a
|
||||||
caret, you know exactly <em>which</em> plus it is complaining about. The range
|
caret, you know exactly <em>which</em> plus it is complaining about. The range
|
||||||
information highlights the left and right side of the plus which makes it
|
information highlights the left and right side of the plus which makes it
|
||||||
immediately obvious what the compiler is talking about, which is very useful for
|
immediately obvious what the compiler is talking about, which is very useful for
|
||||||
cases involving precedence issues and many other cases.</p>
|
cases involving precedence issues and many other situations.</p>
|
||||||
|
|
||||||
<p>Clang diagnostics are very right and have many features. For more
|
<p>Clang diagnostics are very polished and have many features. For more
|
||||||
information and examples, please see the <a href="diagnostics.html">Expressive
|
information and examples, please see the <a href="diagnostics.html">Expressive
|
||||||
Diagnostics</a> page.</p>
|
Diagnostics</a> page.</p>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue