Skip to content
Commit e6664762 authored by Francois Pichet's avatar Francois Pichet
Browse files

In -fdelayed-template-parsing mode, reenter every scope when late parsing a...

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
parent fce2ca9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment