summaryrefslogtreecommitdiffstats
path: root/www/comparison.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-11 22:29:38 +0000
committerChris Lattner <sabre@nondot.org>2007-12-11 22:29:38 +0000
commit0b11baa3094613925073df9d25dcfa6fee5e1d34 (patch)
tree5a73bbd8b65961fb63d1339017cb144ec0ec5312 /www/comparison.html
parent0fcc09e4b62c1944515c1938f372627a18e10c09 (diff)
update pch discussion
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44884 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/comparison.html')
-rw-r--r--www/comparison.html9
1 files changed, 5 insertions, 4 deletions
diff --git a/www/comparison.html b/www/comparison.html
index dd1c36a9c5..66cdf59e5b 100644
--- a/www/comparison.html
+++ b/www/comparison.html
@@ -94,10 +94,11 @@
example, if you write "x-x" in your source code, the GCC AST will
contain "0", with no mention of 'x'. This is extremely bad for a
refactoring tool that wants to rename 'x'.</li>
- <li>GCC does not have a way to serialize the AST of a file out to disk and
- read it back into another program. Its PCH mechanism is architecturally
- only able to read the dump back into the exact same executable as the
- one that produced it.</li>
+ <li>Clang can serialize it's AST out to disk and read it back into another
+ program, which is useful for whole program analysis. GCC does not have
+ this, but its current PCH mechanism is close. However, GCC's current
+ PCH support is architecturally only able to read the dump back into
+ the exact same executable as the one that produced it.</li>
<li>Clang is <a href="features.html#performance">much faster and uses far
less memory</a> than GCC.</li>
<li>Clang aims to provide extremely clear and concise diagnostics (error and