]> granicus.if.org Git - clang/commit
[Frontend] Allow attaching an external sema source to compiler instance and extra...
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 16 Nov 2016 18:15:26 +0000 (18:15 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 16 Nov 2016 18:15:26 +0000 (18:15 +0000)
commit75468b182ef85c3e12160057b3ff8daf40cf4dee
tree011e281cac3a544f7a882a5fb52648a5ffcfed77
parentf8c470e755c0461c128313ebc0ae3e258f049121
[Frontend] Allow attaching an external sema source to compiler instance and extra diags to TypoCorrections

This can be used to append alternative typo corrections to an existing diag.
include-fixer can use it to suggest includes to be added.

Differential Revision: https://reviews.llvm.org/D26745

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@287128 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/CompilerInstance.h
include/clang/Sema/TypoCorrection.h
lib/Frontend/CompilerInstance.cpp
lib/Sema/SemaLookup.cpp
unittests/Frontend/FrontendActionTest.cpp