[PATCH] Allow ExternalSemaSource to participate in typo correction

Luke Zarko zarko at google.com
Fri Jul 26 09:18:33 PDT 2013


zarko added you to the CC list for the revision "Allow ExternalSemaSource to participate in typo correction".

Hi jdennett,

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.


http://llvm-reviews.chandlerc.com/D1211

Files:
  include/clang/Sema/ExternalSemaSource.h
  include/clang/Sema/MultiplexExternalSemaSource.h
  lib/Sema/MultiplexExternalSemaSource.cpp
  lib/Sema/SemaLookup.cpp
  unittests/CMakeLists.txt
  unittests/Makefile
  unittests/Sema/CMakeLists.txt
  unittests/Sema/ExternalSemaSourceTest.cpp
  unittests/Sema/Makefile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1211.2.patch
Type: text/x-patch
Size: 14661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130726/7585f788/attachment.bin>


More information about the cfe-commits mailing list