diff --git a/clang/www/features.html b/clang/www/features.html index aeab4e56969d48..715c9d18dcab2f 100755 --- a/clang/www/features.html +++ b/clang/www/features.html @@ -91,15 +91,9 @@
Here is one simple example that illustrates the difference between a typical -GCC and Clang diagnostic:
+Here is one simple example that illustrates the quality of Clang diagnostic:
- $ gcc-4.9 -fsyntax-only t.c
- 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);
- ^
$ clang -fsyntax-only t.c
t.c:7:39: error: invalid operands to binary expression ('int' and 'struct A')
return y + func(y ? ((SomeA.X + 40) + SomeA) / 42 + SomeA.X : SomeA.X);
@@ -122,7 +116,7 @@ GCC Compatibility
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.