summaryrefslogtreecommitdiff
path: root/www/comparison.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-05-13 05:29:16 +0000
committerChris Lattner <sabre@nondot.org>2011-05-13 05:29:16 +0000
commit9858e8fc868b635360d325a1674448bc23199744 (patch)
treebe267e720d74c7df894a8832016133d970a8be41 /www/comparison.html
parent4b3d6bdf4a77e0c39f5b50960af0aad42e9e28b1 (diff)
downloadclang-9858e8fc868b635360d325a1674448bc23199744.tar.gz
some updates.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/comparison.html')
-rw-r--r--www/comparison.html17
1 files changed, 7 insertions, 10 deletions
diff --git a/www/comparison.html b/www/comparison.html
index dcf6220eb9..a7d4d75a2e 100644
--- a/www/comparison.html
+++ b/www/comparison.html
@@ -50,10 +50,8 @@
<ul>
<li>GCC supports languages that clang does not aim to, such as Java, Ada,
FORTRAN, etc.</li>
- <li><a href="cxx_status.html">Clang support for C++</a> is more compliant
- than GCC's in many ways, but is not as mature as GCC's. GCC has several
- C++'0x features that Clang does not yet support (e.g. variadic
- templates).</li>
+ <li>GCC has a few <a href="cxx_status.html">C++'0x features</a> that Clang
+ does not yet support.</li>
<li>GCC supports more targets than LLVM.</li>
<li>GCC is popular and widely adopted.</li>
<li>GCC does not require a C++ compiler to build it.</li>
@@ -114,6 +112,9 @@
including support for a bytecode representation for intermediate code,
pluggable optimizers, link-time optimization support, Just-In-Time
compilation, ability to link in multiple code generators, etc.</li>
+ <li><a href="compatibility.html#c++">Clang's support for C++</a> is more
+ compliant than GCC's in many ways (e.g. conformant two phase name
+ lookup).</li>
</ul>
<!--=====================================================================-->
@@ -131,6 +132,8 @@
<p>Pro's of clang vs Elsa:</p>
<ul>
+ <li>Clang's C and C++ support is far more mature and practically useful than
+ Elsa's, and includes many C++'0x features.</li>
<li>The Elsa community is extremely small and major development work seems
to have ceased in 2005. Work continued to be used by other small
projects (e.g. Oink), but Oink is apparently dead now too. Clang has a
@@ -157,12 +160,6 @@
<li>Elsa does not support native code generation.</li>
</ul>
- <p>Note that there is a fork of Elsa known as "Pork". It addresses some of
- these shortcomings by loosely integrating a preprocessor. This allows it
- to map from a source location in the AST to the original position before
- preprocessing, providing it better support for static analysis and
- refactoring. Note that Pork is in stasis now too.</p>
-
<!--=====================================================================-->
<h2><a name="pcc">Clang vs PCC (Portable C Compiler)</a></h2>