diff options
author | Sylvestre Ledru <sledru@mozilla.com> | 2019-12-21 10:46:45 +0100 |
---|---|---|
committer | Sylvestre Ledru <sledru@mozilla.com> | 2019-12-21 10:46:45 +0100 |
commit | 384a287a999987ad0989624eb785293d38f9b710 (patch) | |
tree | d061e5dc9dad453bbaa3a2cc6cabbf7adbecec19 | |
parent | 6e8659c351fe3a38ed23f5a5b24c1bc143ea00ed (diff) | |
download | bcm5719-llvm-384a287a999987ad0989624eb785293d38f9b710.tar.gz bcm5719-llvm-384a287a999987ad0989624eb785293d38f9b710.zip |
Remove a gcc 4.9 comparison as it doesn't make sense
-rwxr-xr-x | clang/www/features.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/clang/www/features.html b/clang/www/features.html index aeab4e56969..715c9d18dca 100755 --- a/clang/www/features.html +++ b/clang/www/features.html @@ -91,15 +91,9 @@ most important are pinpointing exactly what is wrong in the program, highlighting related information so that it is easy to understand at a glance, and making the wording as clear as possible.</p> -<p>Here is one simple example that illustrates the difference between a typical -GCC and Clang diagnostic:</p> +<p>Here is one simple example that illustrates the quality of Clang diagnostic:</p> <pre> - $ <b>gcc-4.9 -fsyntax-only t.c</b> - t.c: In function 'int f(int, int)': - t.c:7:39: error: invalid operands to binary + (have 'int' and 'struct A') - return y + func(y ? ((SomeA.X + 40) + SomeA) / 42 + SomeA.X : SomeA.X); - ^ $ <b>clang -fsyntax-only t.c</b> t.c:7:39: error: invalid operands to binary expression ('int' and 'struct A') <span style="color:darkgreen"> return y + func(y ? ((SomeA.X + 40) + SomeA) / 42 + SomeA.X : SomeA.X);</span> @@ -122,7 +116,7 @@ Diagnostics</a> page.</p> <!--=======================================================================--> <p>GCC is currently the defacto-standard open source compiler today, and it -routinely compiles a huge volume of code. GCC supports a huge number of +routinely compiles a huge volume of code. GCC supports a huge number of extensions and features (many of which are undocumented) and a lot of code and header files depend on these features in order to build.</p> |