commit | 010157f9dbce11706c96229cf17f1da9e2a39d73 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri May 06 23:28:47 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri May 06 23:28:47 2011 +0000 |
tree | 658f657cf620eb9e59d8aacffde0ae621f8e81b9 | |
parent | 31e7f225fa3c603b84d66bc8ebdf7ed084e36e62 [diff] |
When checking for a prior declaration of the name of a namespace, skip any names that aren't in the appropriate identifier namespaces. Fixes an embarrassing bug where we give a redefinition error due to an Objective-C category (<rdar://problem/9388207>). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131036 91177308-0d34-0410-b5e6-96231b3b80d8