Skip to content

Commit b4ccc2d

Browse files
committed
some updates.
llvm-svn: 131286
1 parent 935304e commit b4ccc2d

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

clang/www/comparison.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,8 @@ <h2><a name="gcc">Clang vs GCC (GNU Compiler Collection)</a></h2>
5050
<ul>
5151
<li>GCC supports languages that clang does not aim to, such as Java, Ada,
5252
FORTRAN, etc.</li>
53-
<li><a href="cxx_status.html">Clang support for C++</a> is more compliant
54-
than GCC's in many ways, but is not as mature as GCC's. GCC has several
55-
C++'0x features that Clang does not yet support (e.g. variadic
56-
templates).</li>
53+
<li>GCC has a few <a href="cxx_status.html">C++'0x features</a> that Clang
54+
does not yet support.</li>
5755
<li>GCC supports more targets than LLVM.</li>
5856
<li>GCC is popular and widely adopted.</li>
5957
<li>GCC does not require a C++ compiler to build it.</li>
@@ -114,6 +112,9 @@ <h2><a name="gcc">Clang vs GCC (GNU Compiler Collection)</a></h2>
114112
including support for a bytecode representation for intermediate code,
115113
pluggable optimizers, link-time optimization support, Just-In-Time
116114
compilation, ability to link in multiple code generators, etc.</li>
115+
<li><a href="compatibility.html#c++">Clang's support for C++</a> is more
116+
compliant than GCC's in many ways (e.g. conformant two phase name
117+
lookup).</li>
117118
</ul>
118119

119120
<!--=====================================================================-->
@@ -131,6 +132,8 @@ <h2><a name="elsa">Clang vs Elsa (Elkhound-based C++ Parser)</a></h2>
131132
<p>Pro's of clang vs Elsa:</p>
132133

133134
<ul>
135+
<li>Clang's C and C++ support is far more mature and practically useful than
136+
Elsa's, and includes many C++'0x features.</li>
134137
<li>The Elsa community is extremely small and major development work seems
135138
to have ceased in 2005. Work continued to be used by other small
136139
projects (e.g. Oink), but Oink is apparently dead now too. Clang has a
@@ -157,12 +160,6 @@ <h2><a name="elsa">Clang vs Elsa (Elkhound-based C++ Parser)</a></h2>
157160
<li>Elsa does not support native code generation.</li>
158161
</ul>
159162

160-
<p>Note that there is a fork of Elsa known as "Pork". It addresses some of
161-
these shortcomings by loosely integrating a preprocessor. This allows it
162-
to map from a source location in the AST to the original position before
163-
preprocessing, providing it better support for static analysis and
164-
refactoring. Note that Pork is in stasis now too.</p>
165-
166163

167164
<!--=====================================================================-->
168165
<h2><a name="pcc">Clang vs PCC (Portable C Compiler)</a></h2>

0 commit comments

Comments
 (0)