diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-16 21:36:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-16 21:36:18 +0000 |
commit | a86bc00d3efa6a92d5f78e052562cc0f8d4b6f6a (patch) | |
tree | 5a21877da35a7d218432968b929458672aaa8690 /clang/test/Parser/cxx0x-lambda-expressions.cpp | |
parent | 4fa6aec9fe5b3ea6571b7455d9d77efc18495d67 (diff) | |
download | llvm-a86bc00d3efa6a92d5f78e052562cc0f8d4b6f6a.zip llvm-a86bc00d3efa6a92d5f78e052562cc0f8d4b6f6a.tar.gz llvm-a86bc00d3efa6a92d5f78e052562cc0f8d4b6f6a.tar.bz2 |
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
Diffstat (limited to 'clang/test/Parser/cxx0x-lambda-expressions.cpp')
0 files changed, 0 insertions, 0 deletions