diff --git a/clang/docs/InternalsManual.html b/clang/docs/InternalsManual.html index 5f6d8dd2b71f..7aa26e00a4f1 100644 --- a/clang/docs/InternalsManual.html +++ b/clang/docs/InternalsManual.html @@ -118,8 +118,8 @@ classes somewhere else, or introduce some other solution.

The Clang Diagnostics subsystem is an important part of how the compiler communicates with the human. Diagnostics are the warnings and errors produced when the code is incorrect or dubious. In Clang, each diagnostic produced has -(at the minimum) a unique ID, a SourceLocation to -"put the caret", an English translation associated with it, and a severity (e.g. +(at the minimum) a unique ID, an English translation associated with it, a SourceLocation to "put the caret", and a severity (e.g. WARNING or ERROR). They can also optionally include a number of arguments to the dianostic (which fill in "%0"'s in the string) as well as a number of source ranges that related to the diagnostic.

@@ -127,7 +127,7 @@ number of source ranges that related to the diagnostic.

In this section, we'll be giving examples produced by the Clang command line driver, but diagnostics can be rendered in many different ways depending on how the DiagnosticClient interface is -implemented. A representative example of a diagonstic is:

+implemented. A representative example of a diagnostic is:

 t.c:38:15: error: invalid operands to binary expression ('int *' and '_Complex float')