]> granicus.if.org Git - clang/commit
Make sure to consider non-DeclContext scopes properly when finding
authorDouglas Gregor <dgregor@apple.com>
Fri, 13 Jan 2012 23:06:53 +0000 (23:06 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 13 Jan 2012 23:06:53 +0000 (23:06 +0000)
commit117c45666c99f1797c708767d7c0ccaa7902ec42
treeb99d544309edc5245441de51e019dc95ad09d300
parenta8c6fea0234bc23de6106a84646dc049cf45e8c8
Make sure to consider non-DeclContext scopes properly when finding
multiple name lookup results in C/Objective-C. Fixes a regression a
caused in r147533, found by Enea Zaffanella!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148154 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaLookup.cpp
test/Sema/function.c