[PATCH] Allow ExternalSemaSource to participate in typo correction

Luke Zarko zarko at google.com
Tue Jul 23 17:26:31 PDT 2013


I've fixed some style nits and added some unit tests.

On Thu, Jul 11, 2013 at 10:45 AM, Luke Zarko <zarko at google.com> wrote:
> 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-v3.patch
Type: application/octet-stream
Size: 14954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130723/151abc64/attachment.obj>


More information about the cfe-commits mailing list