commit | 7cbc558ffda5877ec4d2e432534e3d3d4ac10050 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Mar 14 21:19:51 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Mar 14 21:19:51 2011 +0000 |
tree | da94f5bf295b07b01b82017c6f96caf478ddb6f0 | |
parent | dc0f137295bc7ec5b231ff1842388f149f43c0c8 [diff] |
When synthesizing a label declaration based on a goto statement that cannot yet be resolved, be sure to push the new label declaration into the right place within the identifier chain. Otherwise, name lookup in C++ gets confused when searching for names that are lexically closer than the label. Fixes PR9463. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127623 91177308-0d34-0410-b5e6-96231b3b80d8