forked from OSchip/llvm-project
parent
f4b5d491df
commit
8c03979f91
clang/www
|
@ -9,7 +9,7 @@
|
|||
padding:0px;
|
||||
}
|
||||
p {
|
||||
margin-top:0;
|
||||
margin-top:em;
|
||||
margin-bottom:0;
|
||||
}
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ Another major focus of LLVM's frontend is speed (for all libraries). Even at th
|
|||
These are SPEC2006 benchmarks using Distcc.</div>
|
||||
</div>
|
||||
|
||||
<h2>More Expressive Diagnostics</h2>
|
||||
<h2><a name="expressivediags">Expressive Diagnostics</a></h2>
|
||||
The design of the Clang driver (one of the LLVM front_end libraries) provies more detailed diagnostic information.<br>
|
||||
<div class="img_container">
|
||||
<div class="img_title">Clang vs GCC:</div>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<br><br>
|
||||
<p>The developers of Clang include contributers from Apple and numerous other volunteers.
|
||||
<h2>Why?</h2>
|
||||
<p>The development of a new front-end was started out of a need -- a need for a compiler that allows better diagnostics, better integration with IDEs, a license that is compatible with commercial products, and a compiler that is easier to develop and maintain. All of these were motiviations for starting work on a new C/C++/ObjC front-end that could meet these needs.
|
||||
<p>The development of a new front-end was started out of a need -- a need for a compiler that allows better diagnostics, better integration with IDEs, a license that is compatible with commercial products, and a compiler that is easier to develop and maintain. All of these were motivations for starting work on a new C/C++/ObjC front-end that could meet these needs.
|
||||
<p>An excellent introduction to Clang can be found in the following video lectures:
|
||||
<ul>
|
||||
<li><a href="clang_video-05-25-2007.html">Clang Introduction</a>
|
||||
|
@ -29,15 +29,15 @@
|
|||
<h2>Features/Goals</h2>
|
||||
Some of the goals for the project include the following:
|
||||
<ul>
|
||||
<li>Unified parser for C-based languages
|
||||
<li>Language conformance with C99, ObjC, C++
|
||||
<li>Real-world, production quality compiler
|
||||
<li>GCC compatibility
|
||||
<li>Library based architecture with finely crafted C++ API's
|
||||
<li>High performance
|
||||
<li>Better integration with IDEs
|
||||
<li>Expressive diagnostics
|
||||
<li>BSD License
|
||||
<li>Real-world, production quality compiler.</li>
|
||||
<li>A single unified parser for C/ObjC/C++</li>
|
||||
<li>Language conformance with C, ObjC, C++ (including variants, like C90, C99, etc)</li>
|
||||
<li>GCC compatibility (supports GCC extensions, but allow them to be disabled)</li>
|
||||
<li>Library based architecture with finely crafted C++ API's</li>
|
||||
<li>High performance</li>
|
||||
<li>Design for integration with IDEs as well as code generation with <a href="http://llvm.org">LLVM</a>.</li>
|
||||
<li><a href="features.html#expressivediags">Expressive diagnostics</a></li>
|
||||
<li>BSD License</li>
|
||||
</ul>
|
||||
Of course this is only a rough outline of the goals and features of Clang. To get a true sense of what the new LLVM front-end is all about, as well as why you might want to considering using it, see the <a href="features.html">Features</a> section.
|
||||
<h2>Try Clang</h2>
|
||||
|
|
Loading…
Reference in New Issue