[PATCH] Allow ExternalSemaSource to participate in typo correction

Luke Zarko zarko at google.com
Thu Jul 11 10:45:24 PDT 2013


Ack, missed a 'virtual' in ExternalSemaSource.h when I split this off
from a larger changelist. Attached is the updated patch.

On Tue, Jul 9, 2013 at 4:33 PM, Luke Zarko <zarko at google.com> wrote:
> This patch allows ExternalSemaSource to participate in typo
> correction. This is useful for providing functionality that performs
> open-ended searches for missing identifiers. For example, an
> ExternalSemaSource can be defined that scans a ctags files; if it
> encounters an identifier in a header file (of the correct LookupKind),
> it can produce a diagnostic that suggests the inclusion of that
> header.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-correct-typo-v2.patch
Type: application/octet-stream
Size: 4775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130711/97c5309d/attachment.obj>


More information about the cfe-commits mailing list