commit | 539c5c34063066753f27bb0f39fdcde1acc06328 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Jan 07 00:31:29 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Jan 07 00:31:29 2010 +0000 |
tree | c2aafb435b85f78e8d73cb1d5e40fd0863e187cf | |
parent | 0d535c89c5d02017153fb971e1ef080cd80cb4b8 [diff] |
Fix the search for visible declarations within a Scope to ensure that we look into a Scope that corresponds to a compound statement whose scope was combined with the scope of the function that owns it. This improves typo correction in many common cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92879 91177308-0d34-0410-b5e6-96231b3b80d8