diff options
author | Francois Pichet <pichet2000@gmail.com> | 2012-02-22 08:25:53 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2012-02-22 08:25:53 +0000 |
commit | e6664762ec6ccce384ac40e7626140bd5f145d71 (patch) | |
tree | 770c5d11c1d71fe25a1e7d65ccdbf9c14cd797e4 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | fce2ca9f66eb32b77f9aa410992d4e57b07c8f9e (diff) | |
download | llvm-e6664762ec6ccce384ac40e7626140bd5f145d71.zip llvm-e6664762ec6ccce384ac40e7626140bd5f145d71.tar.gz llvm-e6664762ec6ccce384ac40e7626140bd5f145d71.tar.bz2 |
In -fdelayed-template-parsing mode, reenter every scope when late parsing a templated function; (Not just the template parameter scope as previously). Also enter the scope stack in the correct order.
Otherwise this breaks some invariant during name lookup especially when dealing with shadowed declaration
Fix PR11931.
llvm-svn: 151140
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions