@@ -50,10 +50,8 @@ <h2><a name="gcc">Clang vs GCC (GNU Compiler Collection)</a></h2>
50
50
< ul >
51
51
< li > GCC supports languages that clang does not aim to, such as Java, Ada,
52
52
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 >
57
55
< li > GCC supports more targets than LLVM.</ li >
58
56
< li > GCC is popular and widely adopted.</ li >
59
57
< 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>
114
112
including support for a bytecode representation for intermediate code,
115
113
pluggable optimizers, link-time optimization support, Just-In-Time
116
114
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 >
117
118
</ ul >
118
119
119
120
<!--=====================================================================-->
@@ -131,6 +132,8 @@ <h2><a name="elsa">Clang vs Elsa (Elkhound-based C++ Parser)</a></h2>
131
132
< p > Pro's of clang vs Elsa:</ p >
132
133
133
134
< 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 >
134
137
< li > The Elsa community is extremely small and major development work seems
135
138
to have ceased in 2005. Work continued to be used by other small
136
139
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>
157
160
< li > Elsa does not support native code generation.</ li >
158
161
</ ul >
159
162
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
-
166
163
167
164
<!--=====================================================================-->
168
165
< h2 > < a name ="pcc "> Clang vs PCC (Portable C Compiler)</ a > </ h2 >
0 commit comments