QDoc: Warn on unterminated deprecation text
When a documentation comment carries \deprecated or \obsolete, QDoc
generates a sentence in the output, appending any text that follows the
command.
QDoc now inspects that text as it parses the command and warns when it
doesn't close with sentence-ending punctuation. Bare commands and
version-only forms carry no description and stay silent.
[ChangeLog][QDoc] QDoc now warns when the text following \deprecated
does not end with sentence-ending punctuation, since that text is
appended to a generated sentence in the output.
Fixes: QTBUG-117470
Change-Id: Ide3922bb32a90b7f07848fbe35f5c236ac8bbe0e
Reviewed-by: David Boddie <david.boddie@qt.io>