aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-05-04 00:25:33 +0000
committerDouglas Gregor <dgregor@apple.com>2011-05-04 00:25:33 +0000
commit61c6c4415d0f73bd033128ac85f054a0211e7c42 (patch)
treea2bb41061a453d75b7a96791700013d437ed0cae /lib/Driver/Tools.cpp
parent4f40ddde58cb9bebcd23eb3ef3c1b399bac4d938 (diff)
When tag lookup finds something ambiguous, and we're defining a new
tag, filter out those ambiguous names that we found if they aren't within the declaration context where this newly-defined tag will be visible. This is basically a hack, because we really need to fix the lookup of tag declarations in this case to not find things it shouldn't. However, it's better than what we had before, and it fixes <rdar://problem/9168556>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130810 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions