Skip to content
Commit 3092d728 authored by Richard Smith's avatar Richard Smith
Browse files

Fix crash when an 'import a module' TypoCorrection has its CorrectionDecls

replaced by visible decls.

Make sure that all paths through checkCorrectionVisibility set the
RequiresImport flag appropriately, so we don't end up using a stale value.
Patch by Jorge Gorbe!

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

llvm-svn: 304745
parent effb7943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment