This can be used to append alternative typo corrections to an existing diag.
include-fixer can use it to suggest includes to be added.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D26745  
[Frontend] Allow attaching an external sema source to compiler instance and extra diags to TypoCorrections ClosedPublic Authored by bkramer on Nov 16 2016, 6:12 AM. 
Details Summary This can be used to append alternative typo corrections to an existing diag. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Nov 16 2016, 6:34 AM Closed by commit rL287128: [Frontend] Allow attaching an external sema source to compiler instance and… (authored by d0k).  ·  Explain WhyNov 16 2016, 10:25 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 78213 cfe/trunk/include/clang/Frontend/CompilerInstance.h
 cfe/trunk/include/clang/Sema/TypoCorrection.h
 cfe/trunk/lib/Frontend/CompilerInstance.cpp
 cfe/trunk/lib/Sema/SemaLookup.cpp
 cfe/trunk/unittests/Frontend/FrontendActionTest.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||