diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-08 18:21:25 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-02-08 18:21:25 +0000 |
commit | 898fdbf82d622b01365d8724908fe512cd805cf7 (patch) | |
tree | 1ccb0f527db7958333cc51c7ac3fa00152ef96e4 /lldb | |
parent | 8665d59f4621ebc2a37da729c2618b163fb96192 (diff) | |
download | bcm5719-llvm-898fdbf82d622b01365d8724908fe512cd805cf7.tar.gz bcm5719-llvm-898fdbf82d622b01365d8724908fe512cd805cf7.zip |
In Sema::CheckShadow, get the DeclContext from the variable that we are checking
instead from the Scope; Inner scopes in bodies don't have DeclContexts associated with them.
Fixes http://llvm.org/PR9160 & rdar://problem/8966163.
llvm-svn: 125097
Diffstat (limited to 'lldb')
0 files changed, 0 insertions, 0 deletions