[cfe-commits] r65648 - /cfe/trunk/docs/InternalsManual.html
Chris Lattner
sabre at nondot.org
Fri Feb 27 11:31:13 PST 2009
Author: lattner
Date: Fri Feb 27 13:31:12 2009
New Revision: 65648
URL: http://llvm.org/viewvc/llvm-project?rev=65648&view=rev
Log:
minor wording changes.
Modified:
cfe/trunk/docs/InternalsManual.html
Modified: cfe/trunk/docs/InternalsManual.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/InternalsManual.html?rev=65648&r1=65647&r2=65648&view=diff
==============================================================================
--- cfe/trunk/docs/InternalsManual.html (original)
+++ cfe/trunk/docs/InternalsManual.html Fri Feb 27 13:31:12 2009
@@ -393,12 +393,13 @@
<p>In some cases, the front end emits diagnostics when it is clear
that some small change to the source code would fix the problem. For
example, a missing semicolon at the end of a statement or a use of
-deprecated syntax that is easily rewritten into a more modern form. In
-these cases, the front end should emit the diagnostic and recover
-gracefully.</p>
-
-<p>In these cases, the diagnostic can be annotation with a code
-modification "hint" that describes how to modify the code referenced
+deprecated syntax that is easily rewritten into a more modern form.
+Clang tries very hard to emit the diagnostic and recover gracefully
+in these and other cases.</p>
+
+<p>However, for these cases where the fix is obvious, the diagnostic
+can be annotated with a code
+modification "hint" that describes how to change the code referenced
by the diagnostic to fix the problem. For example, it might add the
missing semicolon at the end of the statement or rewrite the use of a
deprecated construct into something more palatable. Here is one such
More information about the cfe-commits
mailing list