diff options
author | Chris Lattner <sabre@nondot.org> | 2012-07-10 05:03:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-07-10 05:03:05 +0000 |
commit | f6385a5d48fb5f17cf7c8d0426a75ab7112a8402 (patch) | |
tree | 3d24dfde81b09989830cc20b4113ffb952e73325 | |
parent | 3b81b7d604e851498243ee732dee3babc1cf20d4 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159980 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/InternalsManual.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/InternalsManual.html b/docs/InternalsManual.html index 6a67368916..38cd8498e6 100644 --- a/docs/InternalsManual.html +++ b/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 |