commit | 7bdc15252ca2415f149ad812f0e5184d758e6105 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Thu Feb 16 21:36:18 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Thu Feb 16 21:36:18 2012 +0000 |
tree | de57648d4ffa3cc9fba145b8ce1929e3f0df8be8 | |
parent | 449d4f06fe7501ed53e3aaaa465a499442285e90 [diff] |
Lambda closure types are always considered to be like "local" classes, even if they are not within a function scope. Teach template instantiation to treat them as such, and make sure that we have a local instantiation scope when instantiating default arguments and static data members. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150725 91177308-0d34-0410-b5e6-96231b3b80d8