Skip to content
Commit c0cd80fb authored by Serge Pavlov's avatar Serge Pavlov
Browse files

Do not use typo correction that is unaccessible.

This patch fixes PR17019. When doing typo correction, Sema::CorrectTypo uses
correction already seen for the same typo. This causes problems if that
correction is from another scope and cannot be accessed in the current.

llvm-svn: 192594
parent 43d90cbd
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