| commit | a86bc00d3efa6a92d5f78e052562cc0f8d4b6f6a | [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 | 5a21877da35a7d218432968b929458672aaa8690 | |
| parent | 4fa6aec9fe5b3ea6571b7455d9d77efc18495d67 [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. llvm-svn: 150725