commit | 9f54ad4381370c6b771424b53d219e661d6d6706 | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Dec 10 09:41:52 2009 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Dec 10 09:41:52 2009 +0000 |
tree | cf7e1c1bceaefab55c52fa3458005811e59d0185 | |
parent | 153c33ed957b135a366178c61bbe22b6b1362a2a [diff] |
Implement redeclaration checking and hiding semantics for using declarations. There are a couple of O(n^2) operations in this, some analogous to the usual O(n^2) redeclaration problem and some not. In particular, retroactively removing shadow declarations when they're hidden by later decls is pretty unfortunate. I'm not yet convinced it's worse than the alternative, though. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91045 91177308-0d34-0410-b5e6-96231b3b80d8