commit | d77177a752a08abf3f5cf46d7a3fe6143325815d | [log] [tgz] |
---|---|---|
author | Francois Pichet <pichet2000@gmail.com> | Wed Feb 22 08:25:53 2012 +0000 |
committer | Francois Pichet <pichet2000@gmail.com> | Wed Feb 22 08:25:53 2012 +0000 |
tree | eaaea290b7b6169c7fabb0a59c401295c2d3954d | |
parent | 0635aa75ab48c9c3b4269d266305aba77b6ec58e [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151140 91177308-0d34-0410-b5e6-96231b3b80d8