From ca4764740a23eda71a452f9ddf21c3893860ed2d Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 9 Dec 2013 07:03:59 +0000 Subject: [PATCH] Update compatibility page to list some GCC language extensions that Clang does not support as a possible reason for choosing GCC instead of Clang (and vice versa). Weaken some of the claimed advantages of Clang in light of GCC improvements. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196758 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/comparison.html | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/www/comparison.html b/www/comparison.html index afc321e061..40a0d001b2 100644 --- a/www/comparison.html +++ b/www/comparison.html @@ -51,8 +51,14 @@
  • GCC supports languages that clang does not aim to, such as Java, Ada, FORTRAN, etc.
  • GCC supports more targets than LLVM.
  • +
  • GCC supports many language extensions, some of which are not implemented + by Clang. For instance, in C mode, GCC supports + nested + functions and has an + undocumented + extension allowing VLAs in structs. - +

    Pro's of clang vs GCC:

    -- 2.50.1