diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-20 19:44:39 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-20 19:44:39 +0000 |
commit | 9e8c92a9c9b949bbb0408fbbd9a58e34894b6efc (patch) | |
tree | 9579005bf62f65f14d6478c74c2c36096d691398 /lib/Sema/SemaDecl.cpp | |
parent | 86211df4d28f6fb3c48ab09f02a011e8570d8b1c (diff) |
Basic support for name mangling of C++11 lambda expressions. Because
name mangling in the Itanium C++ ABI for lambda expressions is so
dependent on context, we encode the number used to encode each lambda
as part of the lambda closure type, and maintain this value within
Sema.
Note that there are a several pieces still missing:
- We still get the linkage of lambda expressions wrong
- We aren't properly numbering or mangling lambda expressions that
occur in default function arguments or in data member initializers.
- We aren't (de-)serializing the lambda numbering tables
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions