Author: Sylvestre Ledru Date: 2019-12-21T10:46:45+01:00 New Revision: 384a287a999987ad0989624eb785293d38f9b710
URL: https://github.com/llvm/llvm-project/commit/384a287a999987ad0989624eb785293d38f9b710 DIFF: https://github.com/llvm/llvm-project/commit/384a287a999987ad0989624eb785293d38f9b710.diff LOG: Remove a gcc 4.9 comparison as it doesn't make sense Added: Modified: clang/www/features.html Removed: ################################################################################ diff --git a/clang/www/features.html b/clang/www/features.html index aeab4e56969d..715c9d18dcab 100755 --- a/clang/www/features.html +++ b/clang/www/features.html @@ -91,15 +91,9 @@ <h3><a name="expressivediags">Expressive Diagnostics</a></h3> 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 diff erence 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 @@ <h3><a name="gcccompat">GCC Compatibility</a></h3> <!--=======================================================================--> <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> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits