diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2013-10-14 14:05:48 +0000 |
|---|---|---|
| committer | Serge Pavlov <sepavloff@gmail.com> | 2013-10-14 14:05:48 +0000 |
| commit | 81e34b1c137ffaa9b9c7d488744bdaa0cee8e845 (patch) | |
| tree | 93a7c5946856f7b99f81e15580829e34a78d2dfc /lib/CodeGen/CGExpr.cpp | |
| parent | 74ecbd5babae58907e6338a5f79ec4eb4401c0dc (diff) | |
| download | clang-81e34b1c137ffaa9b9c7d488744bdaa0cee8e845.tar.gz clang-81e34b1c137ffaa9b9c7d488744bdaa0cee8e845.tar.bz2 clang-81e34b1c137ffaa9b9c7d488744bdaa0cee8e845.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192594 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
