diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-06-05 22:29:36 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2017-06-05 22:29:36 +0000 |
commit | 3092d728cd80b2cd234a694120dc05edcb305d4d (patch) | |
tree | a137d97881dae1121ec71f21c63974e701f01f42 /llvm/unittests/Support/ProgramTest.cpp | |
parent | effb794346dacae2be07ab8793f529648cfe0bdf (diff) | |
download | llvm-3092d728cd80b2cd234a694120dc05edcb305d4d.zip llvm-3092d728cd80b2cd234a694120dc05edcb305d4d.tar.gz llvm-3092d728cd80b2cd234a694120dc05edcb305d4d.tar.bz2 |
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
Diffstat (limited to 'llvm/unittests/Support/ProgramTest.cpp')
0 files changed, 0 insertions, 0 deletions