Add some QA related example clang projects.

llvm-svn: 55196
This commit is contained in:
Daniel Dunbar 2008-08-22 20:18:22 +00:00
parent 04968da460
commit 9f92361f80
1 changed files with 15 additions and 0 deletions

View File

@ -139,6 +139,21 @@ machine compiler that lets you embed C code into state machines and generate
C code. It would be relatively easy to turn this into a JIT compiler using C code. It would be relatively easy to turn this into a JIT compiler using
LLVM.</li> LLVM.</li>
<li><b>Self-testing using clang</b>: There are several neat ways to
improve the quality of clang by self-testing. Some examples:
<ul>
<li>Improve the reliability of AST printing and serialization by
ensuring that the AST produced by clang on an input doesn't change
when it is reparsed or unserialized.
<li>Improve parser reliability and error generation by automatically
or randomly changing the input checking that clang doesn't crash and
that it doesn't generate excessive errors for small input
changes. Manipulating the input at both the text and token levels is
likely to produce interesting test cases.
</ul>
</li>
</ul> </ul>
<p>If you hit a bug with clang, it is very useful for us if you reduce the code <p>If you hit a bug with clang, it is very useful for us if you reduce the code