summaryrefslogtreecommitdiffstats
path: root/clang/docs/InternalsManual.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2012-07-10 05:03:05 +0000
committerChris Lattner <sabre@nondot.org>2012-07-10 05:03:05 +0000
commit209ad6baa0afab545cf41a41c2e48c84a06d1379 (patch)
treea9a63387db5aa1f8b6ec356d8b2cce25deb52e94 /clang/docs/InternalsManual.html
parentb8b2ca6ffbfb69ff67108e31333f18d30ac75aa9 (diff)
downloadbcm5719-llvm-209ad6baa0afab545cf41a41c2e48c84a06d1379.tar.gz
bcm5719-llvm-209ad6baa0afab545cf41a41c2e48c84a06d1379.zip
Jordan points out that this was incorrect: clang should recover from
*errors* with fixits on them by following the recovery advised by the fixit, but if it is a fixit on a warning, then obviously the AST should be for the code as-written. llvm-svn: 159980
Diffstat (limited to 'clang/docs/InternalsManual.html')
-rw-r--r--clang/docs/InternalsManual.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/docs/InternalsManual.html b/clang/docs/InternalsManual.html
index 6a673689168..38cd8498e66 100644
--- a/clang/docs/InternalsManual.html
+++ b/clang/docs/InternalsManual.html
@@ -453,8 +453,7 @@ the user the ability to automatically fix the problem.</p>
<li>Since they are automatically applied if <code>-Xclang -fixit</code>
is passed to the driver, they should only be used when it's very likely they
match the user's intent.</li>
-<li>Clang must recover from the error or warning as if the fix-it had been
-applied.</li>
+<li>Clang must recover from errors as if the fix-it had been applied.</li>
</ul>
<p>If a fix-it can't obey these rules, put the fix-it on a note. Fix-its on
OpenPOWER on IntegriCloud